Retrieve Facebook Fan Names

Viewed 28588

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!

6 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.

SELECT first_name, last_name FROM user WHERE uid IN (SELECT uid FROM page_fan WHERE page_id = [your page id])

This should work, but I get an error trying to run this through the .net facebook api...something about the where clause not being on an indexable column, which it is.

Perhaps give that a try on your platform.

Related