Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Retrieve Facebook Fan Names

I'm trying to grab the names of fans of a Facebook fan page that I administer. I've done some snooping around, and apparently, the FB API doesn't support that, but Facebook actually uses AJAX/JSON to populate the list. Anyways, can anyone suggest a way to make that call myself and grab the data as plain text?

Also, I've found a hack that a guy wrote in Ruby, but I am completely unfamiliar with the language.

Thanks for the help in advance!

like image 488
saibot Avatar asked Jan 04 '10 18:01

saibot


People also ask

What is an FB name?

A username is the web address for your profile or Page (example: Facebook.com/yourname). Username. Your username is often a variation of your name, like jane. doe33 or janedoe3. You can create your own username or choose a username that Facebook suggests.

How do I get my facebook page back?

Select Settings & privacy, then click Settings. Click Your Facebook Information. If you have Facebook access to a page in the new Pages experience: Click Privacy, then click Your Facebook Information. Click Reactivation, then next to the Page you want to reactivate, click Reactivate.

How do I find my Facebook profile?

Go to m.facebook.com on your mobile browser. Enter one of the following: Email: You can log in with any email that's listed on your Facebook account.


3 Answers

At the current time the FQL schema would suggest that there is no way to get a collection of FANS for any given PAGE. I think they are hiding this information because they display the FANS on the page... One would think that at least the ADMIN would have privileges to see the list of users.

Anyway... I hope someone make is possible in the near future.

like image 127
Richard Avatar answered Oct 14 '22 08:10

Richard


can you please try this and let me know :

select uid,name from user where uid in ( select uid from page_fan where uid in (select uid2 from friend where uid1 = me()) and page_id = 'Your Page Id')

I think you can get it only for the currently logged in user and his / her friends only.

like image 32
P.V Avatar answered Oct 14 '22 08:10

P.V


If you have less than 500 fans, you can use the following url:

http://www.facebook.com/browse/?type=page_fans&page_id=13207908137&start=400

Each page will give you 100 fans. Change &start to (0, 100, 200, 300, 400) to get the first 500. If &start is >= 401, the page will be blank :(

like image 3
Vjeux Avatar answered Oct 14 '22 07:10

Vjeux