Error Occurred : While Communicating With App42 but Successfully login to Facebook

0 votes

Hi All,

I have updated to App42-Unity3D-SDK-4.0.1.dll for Facebook login. When login to Facebook, I encounter the error "Error Occurred : While Communicating With App42" but successfully login to Facebook and able to view LeaderBoard. My app is live and available for general public.

asked Jun 24, 2015 in App42 Cloud API-BaaS by mail (10 points)

1 Answer

0 votes
Hello,

Could you please enable your app logs and share with us? It will help us to see the root cause of this issue and provide better support from our side. To enable the internal logs of your app, put the below line of code just after the initialization of App42 API:

App42Log.SetDebug(true);

Regards,

Himanshu Sharma
answered Jun 24, 2015 by hs00105 (2,005 points)
Thanks for sharing the logs with us. The error which you have shared is mainly occurred when you attempt doFBOAuth from social service. Can you restrict your max attempt from 30 to minimum and see if you are getting this issue again:

 
SocialService.MAX_ACCESSTOKEN_ATTEMPT = 2;

Thanks,
Himanshu Sharma
There is no such "SocialService.MAX_ACCESSTOKEN_ATTEMPT" variable in the code.
I have added "SocialService.MAX_ACCESSTOKEN_ATTEMPT = 2;" into the code but still getting the same error message. Please help.
I am using the code from this URL:
http://blogs.shephertz.com/2014/07/23/empower-app42-unity-app-with-facebook-auth/#more-7661
and updated the library to App42-Unity3D-SDK-4.0.1
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...