简体   繁体   中英

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...

Have you tried @[{username}]? :)

You can use @[user_id],in case for page use @[page_id]

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.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM