开发者

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

开发者 https://www.devze.com 2023-03-03 17:40 出处:网络
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.

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

精彩评论

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