ccoenraets / OpenFB

Micro-library that lets you integrate browser and Cordova apps with Facebook with no plugin or SDK dependency.
MIT License
507 stars 229 forks source link

redirect_uri in not correct in cordova #115

Open itay-sho opened 8 years ago

itay-sho commented 8 years ago

When I load the app from my phone/emulator it seems like it uses the browser redirect instead of the cordova one

the inappbrowser does load, but the redirect_uri stays like the one in the browser

itay-sho commented 8 years ago

My current workaround is just to set the browserOauthCallback to the cordova callback

$openFB.init({appId: 'afagasg', browserOauthCallback: "https://www.facebook.com/connect/login_success.html"});

lf94 commented 7 years ago

Ah good idea!

burtontanner commented 6 years ago

@itay-sho i keep getting the error "Can't Load URL: The domain of this url isn't included in the app's domains. To be able to load this url, add all domains and subdomains of your app to the App Domains field in your app settings." Do you think this will fix my problem as well?

itay-sho commented 6 years ago

You should try, it might help