How to get user.friends in Xcode with Facebook SDK
I am trying to get an array or dictionary of a users friends that I can
access. Which permission (if any) do I need to ask for? And does this
create a property for the user object? And if so what is it named?
I tried user.friends and that obviously doesn't work. I tried copying the
"languages" part of the code from "FetchUserDataHowTo.Xcodeproj" and
changing the code from "languages" to "friends." At best it returns
(null).
Docs/Refrence/API/User shows that friends is a "Connection" to the user
object. How do I access connections???
How is this supposed to work? Do you need to edit FBGraphUser.h to be able
to add properties to User?
Why isn't this kind of thing more clear in Facebooks SDK documentation?
No comments:
Post a Comment