Post status update to Page Wall
I'am really new to all this Facebook development, and I wanted to integrate Facebook within my personal website. I am now trying to test if what I want is possible.
I want to post a status from my server, via php/js to my Page in Facebook. How can I do so?
B.W. I saw that there is this FBJS function called "Facebook.streamPublish" But I don't know how to integrate it. Is there any possible way to 开发者_StackOverflowdo so? Can you give me an example?
-Secondly, what is an access token?
You get an access_token after facebook authenticates you. You will need this access_token for all subsequent API calls. You can find the details here:
http://developers.facebook.com/docs/authentication/
You can use graph API for publishing on the wall and doing other allowed actions. Details of publishing api can be found here:
http://developers.facebook.com/docs/reference/api/post/
But do have a look on the facebook policy, because publishing automatically to a wall is considered violation.
http://developers.facebook.com/policy/
精彩评论