Open djalmaaraujo opened 10 years ago
How does the app identify a "mention"?
To identify a mention it is pretty simple. The JSON of a message, comes with a "tags" object with all users mentioned. There's a easy way to use and play around with the json in facebook graph api.
Check it out the graph api explorer: https://developers.facebook.com/tools/explorer/?method=GET&path=100005113504613%3Ffields%3Did%2Cname&version=
Djalma Araújo
Skype: djalmaaraujo Linkedin: br.linkedin.com/in/djalmaaraujo Gtalk: djalma.araujo@gmail.com
On Tue, Mar 18, 2014 at 11:53 PM, Chip Castle notifications@github.comwrote:
How does the app identify a "mention"?
Reply to this email directly or view it on GitHubhttps://github.com/djalmaaraujo/facegroup/issues/2#issuecomment-38012935 .
"message_tags" is the write object.
https://www.dropbox.com/s/50ynm0zz1kha9vx/Screenshot%202014-03-19%2008.33.26.png
When someone mention another user, create a facebook.com/user