How can I create a list of pages on my site with the most Facebook likes?
-
Say I have a Facebook app where the user signs up and completes some activity. They have the their own page hosted on our website summarizing their activity, which they can invite people to like. I want to create a table of all the pages ranked on order of likes. Is there a way to get this data through Facebook`s API?
-
Answer:
AFAIK Facebook doesn't have a function to list the "most liked pages in site X". Not even sure they have any correlation in their graph between pages of a site, unless you have an app they "belong" to. (E.g. when you let users share pages via your Facebook app, that links those shares; but a shared base URL doesn't get stored or associated separately.)So why not do it the other way round, and store the number of likes for each page on your own systems? The number of likes for an individual page is easy to get, and if you keep a table of it yourself, it should then be fairly easy to query for the table, but query it from your own site. (All of this assuming you have a high degree of control over your site/CMS and the repository/database behind it, and the knowledge how to add/change code.)
Adriaan Bloem at Quora Visit the source
Other answers
Yes, it is totally possible. I mean, if you only want to use general "page likes" and not individual post likes, it is not that hard. You may want to see this example script: http://www.techrecite.com/get-facebook-likes-count-of-a-page-using-graph-api/ you just need to fork that code and adjust it to your needs.
Fernando Aguilar
It should be possible via the API. There is also this Recommendations social plugin: https://developers.facebook.com/docs/plugins/recommendations. It's provided by Facebook and lists the most recommended/liked content associated with your domain or app ID.
Siam Choudhury
Related Q & A:
- How can i create a mobile application server?Best solution by Stack Overflow
- How can i create a new blog?Best solution by Yahoo! Answers
- How can I create a new font?Best solution by Yahoo! Answers
- How can I find a list of births in Wiesbaden, Germany?Best solution by Yahoo! Answers
- How can I create a cute, artsy, unique facebook profile?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.