how to tag users in application post of a facebook

2020-06-28 13:27发布

问题:

can anyone please tell me how to tag user's friend in a wall post made by my app on user's wall. say bob is a friend of emily. i have an application that, tells all the friends name starting with e. now when i make a post on bob's wall : "hey bob emily i your friend whose name starts with e" i want emily to be tagged.

Please let me know how to do it.

thanks!!

回答1:

If you want the name of the users in the message to become links to their profile, use : @ in front of their FULL name with no space after the at symbol.

for John Smith, it would be @John Smith

Is that what you want ?


Update : It seems not possible using the graph api right now. Only manually.

See : Tagging people in a Facebook Post?

And : http://www.quora.com/Is-there-a-way-to-tag-a-Facebook-user-via-the-Facebook-Graph-API


Update 2: It is definitively not (yet) possible through facebook api's.

There are tickets about this in facebook bug tracker :

http://bugs.developers.facebook.net/show_bug.cgi?id=12074

http://bugs.developers.facebook.net/show_bug.cgi?id=13174