public void PopulateFacebookData() { if (FacebookManager.IsLoggedIn) { FacebookManager.GetFriends(new FacebookDelegate <IGraphResult>(this.OnGetFriendsData)); FacebookManager.GetSelfData(new FacebookDelegate <IGraphResult>(this.OnGetSelfData)); } }
public void PopulateFacebookData() { if (FacebookManager.IsLoggedIn) { FacebookManager.GetFriends(new FacebookGetFriendsCompleteDelegate(this.OnGetFriendsData)); FacebookManager.GetSelfData(new FacebookGetSelfDataCompleteDelegate(this.OnGetSelfData)); } }
private void FinishFacebookLogin() { if (FacebookManager.IsLoggedIn) { PlayerPrefs.SetString("FB_ID", FacebookManager.Instance.getUserId()); PlayerPrefs.Save(); FacebookManager.GetFriends(new FacebookGetFriendsCompleteDelegate(this.OnGetFriendsData)); } Service.Get <IAccountSyncController>().OnFacebookSignIn(); }