Solved

Need to get all the likes to links in a facebook page

Posted on 2013-05-12
4
279 Views
Last Modified: 2013-07-17
Hi all...

I have a page on facebook and I would like to create a "hit parade" of my links ordered by the number of like they get.

How can I do this?
0
Comment
Question by:ltpitt
  • 2
  • 2
4 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39160979
Just off the top of my head, you would first need to create an app on facebook which basically registering a page on your own server like, http://yoursite.com/facebookapps/links/  and on that page add the  link along with the code showing the number of likes.  Physically place the links in order by the number of likes, upload the page and you are good.  If you want to get fancy, you can use javacript/jquery to reorder the links based on the number of likes.  This would be screen scraping your own page.

https://developers.facebook.com/web/ and specifically  https://developers.facebook.com/docs/appsonfacebook/pagetabs/ is where you create your facebook app / tell facebook where your page lives.
0
 
LVL 1

Author Closing Comment

by:ltpitt
ID: 39332828
I've had information but not a detailed solution.

Ok anyway.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39333065
>I've had information but not a detailed solution.

Are you expecting me to write out your program for you?  We are volunteers here and writing  code from scratch is beyond the scope.  The idea is to help guid you in a case like this.  If you have code you created, we can help you trouble shoot.  

In addition you have not given any detailed instructions.  We can help you a lot better if you start out with detailed instructions or a fake sample page of what you are doing.  We are still not going to write all of your code from scratch.

I would suggest starting out at the end.  Create a static html page of exactly what you want the end result to be.   You can then post more questions. I suggest taking it one step at a time.

Start by following the instructions to set up the app on facebook. This is simply telling facebook who you are, getting a developer key, setting up a new app and telling facebook a little bit of information.  There are online forms once you get to https://developers.facebook.com/apps to guide you.   As you get stuck, ask more questions. We are here to help.

Once you have that done, your 'app' really lives on your site.  You need to place it as in index file on some folder like www.mysite.com/apps/facebook/index.php.

To start, just make a simple static web page, upload it and see what happens.

The next step after that is reading up on the api.

You have to have some knowledge of php or another serverside language and you have not indicated what programming languages you know.

There are a lot of moving  parts to give you all the answers in one question.   Take it in steps.
0
 
LVL 1

Author Comment

by:ltpitt
ID: 39333463
That's very kind and I appreciate honestly your help (sorry if I didn't express it correctly).

I'll dig my way further and, if in need, I'll come asking again.

Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now