What Facebook oAuth URL to use for Cordova iOS app?

I have an app open in Cordova/XCode trying to use the Facebook SDK for sharing.

The code I’m using to run the app is:

meteor run ios-device --settings settings-production.json --mobile-server https://myliveserver.com --production

and in Facebook I have a Valid OAuth redirect URI as

https://myliveserver.com/_oauth/facebook

When I try to use Facebook’s SDK and run FB.ui({method: 'share'}) I get

Given URL is not allowed by the Application configuration

It works fine on desktop, and on a mobile browser, just not in Cordova. Is there some different redirect URI that Cordova uses?

Thanks

1 Like

Bump… has anyone had success with Facebook / Cordova?

Login with Facebook works (although, the window isn’t closing automatically after login, does anyone know about that issue too?)

1 Like

Hi,

Could you solve this issue at the end?