1

I want to connect my web application with the facebook business page. Each time I add a new product to the page I want to post it on facebook wall. I have a facebook application and the page owner username and password. Can I automatically authenticate with the user, pass to facebook and send the post request from server side only? Usually I am logged in with another facebook account when I add products. Also I would like to post when another page user add a product.

Radu D
  • 3,505
  • 9
  • 42
  • 69

2 Answers2

4

You can post to Facebook as a facebook page using the manage_pages permission. You'd need to obtain this permission from a user who is an administrator of the page. There are a few steps to the process, here is a basic summary:

I just found this blog post which gives you a pretty good explanation http://developers.facebook.com/blog/post/465/

Ben
  • 2,661
  • 28
  • 31
1

It sounds like you need the 'offline_access' extended permission.

It is scheduled to be deprecated. Take a look at the following link for more details:

Deprecation of Offline Access Permission

I'm not going to pretend to be an expert on this, but I do NOT recommend trying to login through Facebook's user interface and perform POST requests/HTML scraping on behalf of the user. That procedure would grant you far more functionality than is possible through the Graph API; I don't think Facebook would approve of this.

FZdev
  • 418
  • 1
  • 5
  • 10
  • I don't think you'd get away with logging into facebook programtically without using the tools they provide...you'd come across a capture pretty quickly. – Ben Mar 04 '12 at 12:52