Hi, I'm Having problems with the App42 3.2.1 SDK. When I'm trying to connect with facebook, the app waits for Facebook's response, when it's done, I get this error:
ArgumentException: An element with the same key already exists in the dictionary.
My code is this:
public void FacebookLoginRequest(){
string[] perms = new string[2];
perms [0] = FBPerms.email;
perms [1] = FBPerms.user_friends;
App42API.Initialize(AppGlobals.appkey, AppGlobals.secret);
App42Log.SetDebug(true);
App42API.BuildSocialService().DoFBOAuthAndGetToken(AppGlobals.FBAppID,
perms,true, new UnityCallBack_FBLogin());
}
public void OnSuccess(object response)
{
Social social = (Social) response;
App42Log.Console("userName is" + social.GetUserName());
App42Log.Console("fb Access Token is" + social.GetFacebookAccessToken());
FacebookLogin.LoginSucces ();
}
}
Sorry if this question is in the wrong category.