开发者

How to post a message on wall of facebook using a graph api

How to post a message on the wall of facebook or add comment to the thread using a graph 开发者_C百科api.I want a url of that. like for adding a message to wall https://graph.facebook.com/profile_id/feed?access_token=generated token&message=hi But it not working ,it not get added to my wall.


You need to add &method=post to your request URL. Also, you must have the `publish_stream extended permission for your application.


https://graph.facebook.com/user_id/feed?method=post&message=hi&access_token=generatedtoken.. will work

instead of profile id give the user id

Hope this will work

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜