I want to post to a facebook page through API. I created a access token in the graph api explorer . I am able to successfully post to a page. I am trying to mention a person I am not able to. The old @[id:name]
is not working. But there seems to be a way with this . But the issue is I am not able to tag because it wants me to enable tagging in actiontypes
.
After enabliing Tags in the Action Types section of the App Dashboard, add a tags parameter to your action publishing call, where tags is a comma separated list of tagging tokens for each person. These tagging tokens are retrieved using the /user/taggable_friends Graph API edge.
When I click the link for action types it asks me for a app but it is not showing graph api. Is there something fundamentally wrong with what I am trying. How to proceed? I am using the Koala gem.
Not sure if I understood you correctly, but if you want to tag some friends within a post, you should use the /me/taggable_friends
endpoint to get a list of friends:
Then, you can use those to fill the message_tags
of the respective post:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.