App42 facebook leaderboard

0 votes

Hi, from your documentation and other your stuff on the web I'm not able to get the facebook leaderboard working. Now I'm getting "Error occurred: While communicating with app42". I tried to disable the "reply attack protect" and also I've checked the facebook appID and secret. It would also be nice to have a demo project of the facebook leaderboard integration to see if our configuration is fine. I'm working with Unity3D and the target platforms are iOS and Android.

[Edit]
Here's my log extracted with logcat
 

10-27 15:54:37.368  3653  3681 I Unity   : Configuration Properties https://api.shephertz.com/cloud/
10-27 15:54:37.368  3653  3681 I Unity   :  
10-27 15:54:37.368  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.368  3653  3681 I Unity   : 
10-27 15:54:37.452  3653  3681 I Unity   : Starting OAuth for 201610271554374383452913
10-27 15:54:37.452  3653  3681 I Unity   :  
10-27 15:54:37.452  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.452  3653  3681 I Unity   : 
10-27 15:54:37.514  3653  3681 I Unity   : apiKeyappRequestFalsesessionToken201610271554374383452913timeStamp2016-10-27T13:54:37.454Zversion1.0
10-27 15:54:37.514  3653  3681 I Unity   :  
10-27 15:54:37.514  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.514  3653  3681 I Unity   : 
10-27 15:54:37.560  3653  3681 I Unity   : Body For OAUTH :: %7B%22app42%22%3A%7B%22apiKey%22%3A%22%22%2C%22version%22%3A%221.0%22%2C%22timeStamp%22%3A%222016-10-27T13%3A54%3A37.454Z%22%2C%22sessionToken%22%3A%22201610271554374383452913%22%2C%22appRequest%22%3A%22False%22%2C%22signature%22%3A%22B4wlioIQbEItpzAVmBvOYIdsz20%3D%22%7D%7D
10-27 15:54:37.560  3653  3681 I Unity   :  
10-27 15:54:37.560  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.560  3653  3681 I Unity   : 
10-27 15:54:37.563  3653  3681 I Unity   : : Initiating Platform Request :
10-27 15:54:37.563  3653  3681 I Unity   :  
10-27 15:54:37.563  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.563  3653  3681 I Unity   : 
10-27 15:54:37.565  3653  3681 I Unity   : FB OAuth URL : http://m.facebook.com/dialog/oauth/?display=touch&client_id=1055102911191727&state=%7B%22app42%22%3A%7B%22apiKey%22%3A%22%22%2C%22version%22%3A%221.0%22%2C%22timeStamp%22%3A%222016-10-27T13%3A54%3A37.454Z%22%2C%22sessionToken%22%3A%22201610271554374383452913%22%2C%22appRequest%22%3A%22False%22%2C%22signature%22%3A%22B4wlioIQbEItpzAVmBvOYIdsz20%3D%22%7D%7D&redirect_uri=https://api.shephertz.com/facebook/OAuth/?&response_type=code&scope=user_friends,email
10-27 15:54:37.565  3653  3681 I Unity   :  
10-27 15:54:37.565  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.565  3653  3681 I Unity   : 
10-27 15:54:37.622  3653  3681 I Unity   : apiKeysessionToken201610271554374383452913timeOutInSeconds5timeStamp2016-10-27T13:54:37.454Zversion1.0
10-27 15:54:37.622  3653  3681 I Unity   :  
10-27 15:54:37.622  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.622  3653  3681 I Unity   : 
10-27 15:54:37.625  3653  3681 I Unity   :  GetInstance Null 
10-27 15:54:37.625  3653  3681 I Unity   :  
10-27 15:54:37.625  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.625  3653  3681 I Unity   : 
10-27 15:54:37.646  3653  3681 I Unity   :  RESTConnectorWWW :  Awake 
10-27 15:54:37.646  3653  3681 I Unity   :  
10-27 15:54:37.646  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.646  3653  3681 I Unity   : 
10-27 15:54:37.655  3653  3681 I Unity   : QueryString is :?apiKey=&version=1.0&timeStamp=2016-10-27T13%3a54%3a37.454Z&sessionToken=201610271554374383452913&appRequest=False&
10-27 15:54:37.655  3653  3681 I Unity   :  
10-27 15:54:37.655  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.655  3653  3681 I Unity   : 
10-27 15:54:37.658  3653  3681 I Unity   : GET URI : https://api.shephertz.com/cloud/1.0/social/facebook/getFeaturePhoneAccessToken/201610271554374383452913/5?apiKey=&version=1.0&timeStamp=2016-10-27T13%3a54%3a37.454Z&sessionToken=201610271554374383452913&appRequest=False&
10-27 15:54:37.658  3653  3681 I Unity   :  
10-27 15:54:37.658  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
10-27 15:54:37.658  3653  3681 I Unity   : 
10-27 15:54:37.660  3653  3681 I Unity   : Waiting For Facebook Response...
10-27 15:54:37.660  3653  3681 I Unity   :  
10-27 15:54:37.660  3653  3681 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

 

asked Oct 25, 2016 in Unity by pietro (10 points)
edited Oct 27, 2016 by pietro
I've also enabled Facebook login option and permitted all oauth operations.
And of course the app is public

1 Answer

0 votes

Hi Pietro,

 

The same query has been answered here on the forum, please check and let me know if you need any help from our side. 

 

Regards,

Himanshu Sharma

answered Oct 25, 2016 by hs00105 (2,005 points)
Still not able to fix the issue
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
...