Could not approve social account

Hi!,
I have integrated facebook with backendless. Through sencha touch farme work and cordova. Registration and login is working but when i try to connect facebook to may app, it always response “Could not approve social account.”
https://backendless.com/documentation/manage/mgmt_social_settings.htmAlready follow the instruction here:
and about app domain and site url configure in facebook,
Please anybody could help me?
Thanks

Hi, Katrine!

Backendless provides 2 ways of Facebook login integration:

  1. EasyLogin
  2. LoginWithFacebookSDK

The first one is the easy way to get started with Facebook login. It works fine for simple use cases like login via usual web page. But it is not guaranteed to work with more complex integrations like using Cordoba. In such cases it is better to use LoginWithFacebookSDK. This assumes that you integrate official Facebook SDK by yourself and after that invoke Backendless LoginWithFacebookSDK method.
https://backendless.com/documentation/users/js/users_facebook_login.htm

Hi Anatolii!,

Thanks for the response, already solve the issue. I still used your loginWithFacebook feature though it shows in browser not in facebook application.

Can i just add, after i login through mobile browser, it redirects to api.backendless.com. Do you have any idea for this one?

Thanks

Is there any way to get rid of the redirect api.backendless.com and directly go back into the app?

Hi Anatolii!,

Thanks for the response, already solve the issue. I still used your loginWithFacebook feature though it shows in browser not in facebook application.

Can i just add, after i login through mobile browser, it redirects to api.backendless.com. Do you have any idea for this one?

Is there any way to get rid of the redirect api.backendless.com and directly go back into the app?

Thanks

No, there’s no way since Backendless should validate the user in order to login it into your backend.

Okay then, is there a way to redirect it to the app after the validation on backendless?

When you receive a response, it should return to the app automatically. Have you looked into our Code Generation sample?

hmmmm in web browser it automatically close but when i tried it on mobile browser it doesn’t return to the app.

What’s on Code generation? Do you have sample or linked for that?

Thanks in Advance

In Web browser it automatically close but when i tried it on mobile browser it doesn’t return to the app.

What’s on Code generation? Do you have sample or linked for that?

Thanks in Advance

Hi, Katrine!

You can generate a sample of code in Backendless console:

http://image.prntscr.com/image/931bc00ce4c1430b84162b69ad77b9b6.png</img>