Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove lines by logo 2 37
Divi Them Help with Full Width header 20 92
hosting images 4 35
Please explain purpose of GZIP 4 34
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

792 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