luis
luis

Reputation: 2305

How to relate friends list to user id?

When using the Facebook API and calling https://graph.facebook.com/me I get an id for the logged in user, this ID as I understand is a sandboxed id of the user within my facebook app.

If I request the user's list of friends, the api retrieves a list of friends, last names and first names, and also another id. However this ID is longer in length.

How does this ID (for the friends) relate to the ID that I got originally for the user?

Upvotes: 0

Views: 98

Answers (1)

Tobi
Tobi

Reputation: 31479

It's not really clear what you mean. Have you requested the friends with /me/friends? If so, the IDs you're seeing are object_ids of type user.

Upvotes: 1

Related Questions