As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Hello there Gurmukh,
Apologies for the slow reply on our end. We believe that we were able to successfully recreate the issue that you were referring to, and figure out how to resolve it at this time.
1. Hop over to https://developers.facebook.com/ and login to your account,
2. Select your application
3. Go to app settings for your application
4. Under "Basic" add iOS as a platform if it doesn't already exist there
5. Click save changes.
Now try relogging with facebook and let us know if this works.
Thanks,
Hi Damien
Thank you for this, I will try this out tonight, any idea how I can get the KINVEY_DEBUG logs to show up?
Gurmukh: You can learn more about enabling debugging in our iOS troubleshooting guide, available over here:
http://devcenter.kinvey.com/ios/guides/troubleshooting
Please let me know if you need anything else,
Ah right, Titanium, got me mixed up by posting on the iOS forum:
http://devcenter.kinvey.com/titanium/guides/troubleshooting
Hi Gurmukh,
In order to get the KINVEY_DEBUG logs to show please type KINVEY_DEBUG = true in your alloy.js file to set KINVEY_DEBUG to true on the global namespace. The documentation says this is done by typing var KINVEY_DEBUG = true but by doing this you are are overwriting the var used internally by the library. Simply remove the var in front of KINVEY_DEBUG.
If logs are still not showing up then please let us know. As well, did the issue with the with the Facebook login get resolved when you added iOS as a platform to your application at https://developer.facebook.com?
Hi Thomas,
Thanks for the KINVEY_DEBUG tip, I can now confirm I see the calls made in the console. Unfortunately, I am still no wiser with the Facebook login.
This is the console log output:
[INFO] : ( [INFO] : "Setting the active user.", [INFO] : { [INFO] : 0 = "<null>"; [INFO] : } [INFO] : ) [INFO] : active User <null> [INFO] : connect to FB now [INFO] : ( [INFO] : "Linking a social identity to a Kinvey user.", [INFO] : { [INFO] : 0 = "<null>"; [INFO] : 1 = facebook; [INFO] : 2 = { [INFO] : appId = 1*********6; [INFO] : error = "<KrollCallback: 0x170079a80>"; [INFO] : success = "<KrollCallback: 0x17007aec0>"; [INFO] : }; [INFO] : } [INFO] : ) [INFO] : ( [INFO] : "Initiating the Facebook OAuth2.0 flow.", [INFO] : { [INFO] : 0 = { [INFO] : appId = 1*********6; [INFO] : create = 1; [INFO] : }; [INFO] : } [INFO] : )
And this is my JS code:
var promise = Kinvey.Social.connect(null, 'facebook', { appId : '1*********6', success: function(response) { console.log('Facebook success', response); }, error: function(response) { console.log('facebook error', response); } });
Sorry to keep asking this but did you add iOS as a platform in your app settings on Facebook like this?
Hi there,
Yes, I have enabled iOS, please see below screenshot:
Gurmukh, can you please share the source code for the entire project with us as we've having difficulty reproducing the error at this time? You can email me at damien@kinvey.com
Thanks,
Gurmukh:
I'm not seeing any email from you?
Thanks,
Just sent it again,
Thanks!
Gurmukh Panesar
Hi
I am trying to login with Facebook to my app, but the success of error callbacks are not being fired. If I try to load the app without facebook installed, I get sent to the Facebook site, my app gets verified and then safari gives me an error (I guess it needs to open the app again).
If the Facebook app is installed, I get the native iOS alert asking to auth with Facebook but then when I press OK, nothing gets outputted in the console. This is my code (before this is called, activeUser is null):
Also I have tried to put KINVEY_DEBUG = true in my kinvey.js file, but no extra debug is output
Any help would be appreciated
Thanks!
1 person has this question