I have a FB App that a user will subscribe to via some client (Android or Web), but that later needs to post stuff to their wall (not from the client but from the server). Assuming I have the FB-AppID, and Key and the user's UserId, and they have opted into the app, what is the API I would use to then post stuff to their wall via WGET from my server? I'm confused by all their various methodologies, and am hoping to get pointed towards the one that's the most HTTP friendly.
标签:
facebook-apps
相关问题
- Set “human” app name for facebook app
- Understanding “runwithfriends” facebook-app sample
- Misconfigured App on Facebook but no errors?
- Are Facebook Messenger page-scoped IDs globally un
- Unable to get facebook incoming requests
相关文章
- Fetch Email Id and name of the user who commented
- Facebook Requires extended permission: publish_act
- Setting up Facebook Login on localhost
- Facebook: post image and description to wall and i
- 新的SSL证书是由10月1日的地方(New SSL certificate to be in pla
- 显影Facebook的付费应用,而不FB学分?(developing Facebook paid a
- 我真的需要提交应用程序请求Facebook在为了使用FB-API?(Do I really need
- self.user.user_id在样品FB应用投掷的错误(self.user.user_id in
You can use Facebook Graph API. This api is HTTP based and support REST services.
Here is the link -> https://developers.facebook.com/docs/reference/api/ You must be login in Facebook to access this page.
Please check out the "posts/Create" section under https://developers.facebook.com/docs/reference/api/user/.
You will need publish_stream permission to push the same to facebook.
Also, you will need a valid access_token from FB which is linked to the user who has logged into your app. A standard access_token will work only for a fixed amount of time since it was last provided to you (typically 30 minutes).
If you wish to post after the said time (basically anytime), then you will need the offline_access permission also.
In essence, if you need to do a post offline, then you need to necessarily have an access token with both "offline_access" and "publish_stream" permissions.