Facebook Login error

https://api.backendless.com safari cannot open page because the address is invalid

This URL is used only by Backendless API clients - for Backendless site you should use http://backendless.com

After changing i get this

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App’s settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App’s domains.

Hi,

Using Backendless UserService loginWithFacebookSDK: method needs the additional setting in Info.plist file of your project (see for my app):
http://support.backendless.com/public/attachments/11ee071a07f7661b633de80978acfd40.png</img>

Hope this guide will be helpful for you - https://backendless.com/documentation/users/ios/users_facebook_login.htm

You can also try our sample - https://github.com/Backendless/iOS-Samples/tree/master/samples/objective-c/backendlessDemos/FacebookLogin

Regards,
Slava

I check the info plist everything look the same

Is this correct url input ?

Can you try our sample - https://github.com/Backendless/iOS-Samples/tree/master/samples/objective-c/backendlessDemos/FacebookLogin
It works fine for me, and you?

No, it should be https://api.backendless.com as described here:

https://backendless.com/documentation/manage/mgmt_social_settings.htm

Same problem here guys. Im using https://api.backendless.com . Everything goes well, I get to the FB window asking me if I give my app to access my info, then Safari goes to https://api.backendless.com and I get a pop up saying :“safari cannot open page because the address is invalid”

Could you please attach screenshots of the facebook app configuration page and one from backendless console (Manage > Social Settings). For security purposes you are welcome to email the screenshots to support@backendless.com.

Hi,

See this comment. Hope it will be helpful for you.

Also you can investigate a whole this thread.

Regards,
Slava

I’m facing the exact same issues. User is registered in DB but that window still appears. Setting the App id in the Plist also didnt work.

@Stijn van Lieshout
Already answered here http://support.backendless.com/t/error-safari-cannot-open-the-page-because-the-address-is-invalid