'Facebook Api V10 : How to tag or mention a user in my facebook post?
In Facebook Api V10, what is the option for tagging or mentioning a user in my Facebook post. I have tried with @[username] but it just display like what I wrote in message. Also tried with @{[username]} but result is same. Thanks in advance...
Solution 1:[1]
Have you tried @[{username}] ? :)
Solution 2:[2]
You can use @[user_id],in case for page use @[page_id]
Solution 3:[3]
You can only mention pages. User profiles are not allowed.
To mention a page use the format @[page-id]
. Usernames will not resolve.
Here is some additional info: https://developers.facebook.com/docs/pages/mentions/
Note, the Page being mentioned must allow Page tagging.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ivan |
Solution 2 | |
Solution 3 | Geoffrey Bourne |