[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2013-05-12
4
Medium Priority
?
293 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 54

Accepted Solution

by:
Scott Fell,  EE MVE earned 1000 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 54

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
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.
Suggested Courses

834 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