0

I have an app that needs to gain access to a user's friends' information. For example, say I decided to connect to example.com with Facebook Connect. Now example.com has the information about me (name, picture, education etc...). example.com requires to know something about my friend, John Smith, whom I can see the profile information of through facebook. Is there a way I can give example.com access to John Smith's details? (Even basic ones)?

Thanks!

Yuval Karmi
  • 26,277
  • 39
  • 124
  • 175

1 Answers1

3

Yes, you can query "/me/friends" to get names and ids of someone's friends.

Check out their Graph OAUth API for more details.

Pan Thomakos
  • 34,082
  • 9
  • 88
  • 85
  • I was actually aware of this, but I should have clarified further in my question. I'm looking to get specific information about friends, like their education. Is that possible? – Yuval Karmi Dec 18 '10 at 03:11
  • You can use the friends information (id and name) to get the publicly available information using the user API and the user ids: https://graph.facebook.com/. – Pan Thomakos Dec 18 '10 at 17:34
  • But not other information about them (i.e. education)? thanks! – Yuval Karmi Dec 24 '10 at 05:27
  • It depends on what information that user has made public. Some people have education hidden, others don't. – Pan Thomakos Dec 28 '10 at 18:12