jisna
jisna

Reputation: 2444

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

Upvotes: 1

Views: 3355

Answers (3)

Geoffrey Bourne
Geoffrey Bourne

Reputation: 620

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.

Upvotes: 2

user4206843
user4206843

Reputation:

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

Upvotes: 1

Ivan
Ivan

Reputation: 16

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

Upvotes: 0

Related Questions