- Home /
Facebook SDK Multi-friend-selector
Hi,
I have imeplemented the Facebook SDK into Unity, and I can login. I am trying to get a list of invitable_friens through the FB.API call, and then I return to a callback function, however I don't know how to handle the data that is returned.
void GetFriendList()
{
FB.API( "/me/invitable_friends", Facebook.HttpMethod.GET, FriendCallback );
}
void FriendCallback( FBResult result )
{
// Not sure how to handle the result returned.
}
Any advice would be great!
Comment
Answer by HappyLDE · Feb 20, 2015 at 12:22 PM
Maybe watch this tutorial it explains how to parse the results: https://www.youtube.com/watch?v=9H8Wc8NRP-I