?
Solved

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

Posted on 2013-05-12
4
Medium Priority
?
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 53

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 53

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This article explores several main social media platforms.
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…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

771 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