Solved

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

Posted on 2013-05-12
4
276 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

707 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

15 Experts available now in Live!

Get 1:1 Help Now