Posting to a wall of a facebook user using the graph api

后端 未结 2 578
无人共我
无人共我 2021-01-26 20:37

i am new to facebook app development and i am trying to post a simple text on the wall of the user using the https://graph.facebook.com/me/feed?access_token=ACCESS_TOKEN&mes

2条回答
  •  春和景丽
    2021-01-26 21:24

    If you’re just calling the URL you mentioned, that would be a GET request. To post a message to the user’s wall you have to use method POST. You can test it in the Graph API Explorer – change the method to POST via the dropdown, click „add a field” and use name=message and value=your_message …

提交回复
热议问题