Reputation: 133
I am developing a game which is saving opponents ID. So I wanted to know how can I get user's name and and profile pic from the id here is what goes in for the parameter in
[facebook requestWithGraphPath:@"_______" andDelegate:self];
thanks
Upvotes: 2
Views: 3522
Reputation: 3927
Did you get the facebook ID? If you got it, just fill it to the parametes https://developers.facebook.com/docs/reference/api/user/
[facebook requestWithGraphPath:@"fbID" andDelegate:self];
For profile picture, call this url and it will return a jpg link for you
http://graph.facebook.com/(username|fbID)/picture
Upvotes: 3