JJohn
JJohn

Reputation: 75

Getting list of names from id array for facebook?

I am looking to grab the names of facebook users from an array of about 100 ids and store in php variables. Is there a way to do it without making api calls or using curl for each id in a loop?

Upvotes: 2

Views: 1863

Answers (2)

Tyler Collier
Tyler Collier

Reputation: 11988

You can do this:

You can run an FQL query on the 'user' table to get their name.

Here are a few links for more information:

http://developers.facebook.com/docs/reference/fql/

http://developers.facebook.com/docs/reference/fql/user/

Upvotes: 0

Related Questions