: Tracking Facebook "Likes" Beyond the count posted next to the button, is there anyway to see a list of users have completed a successful “like” action, but not as the owner of the "like"
Beyond the count posted next to the button, is there anyway to see a list of users have completed a successful “like” action, but not as the owner of the "like" button/website; or for that matter any additional information.
More posts by @Jamie184
1 Comments
Sorted by latest first Latest Oldest Best
You can use the Facebook Graph API, passing the URL of the page to it in the following format:
graph.facebook.com/?ids=<url>
Where <url> is the url you wish to get the like information for.
However, there is a catch; the page has to be properly tagged for the Open Graph Protocol. If so, you will get a JSON result like so:
{
"http://www.imdb.com/title/tt0117500/": {
"id": "114324145263104",
"name": "The Rock (1996)",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/188097_114324145263104_339757_s.jpg",
"link": "http://www.imdb.com/title/tt0117500/",
"category": "Movie",
"likes": 6415,
"website": "http://www.imdb.com/title/tt0117500/",
"description": "Directed by Michael Bay. With Sean Connery, Nicolas Cage, Ed Harris, John Spencer."
}
}
The above result is for the entry for the movie "The Rock" on IMDB.
However, if the page does not have the proper tags, then your result will contain just the number of shares, an example being for the Google front page:
{
"http://www.google.com": {
"id": "http://www.google.com",
"shares": 1319932
}
}
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.