ccoenraets / OpenFB

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

redirect uri works fine in the debugg browser , How to redirect in Mobile phone apache cordova phone app #105

Open hardikchoudhary opened 8 years ago

hardikchoudhary commented 8 years ago

Response.Redirect("https://www.facebook.com/dialog/oauth?" + "client_id=" + "{507061112747022}" + "&redirect_uri=" + "{http://localhost:63695/FacebookChatApi/Default.aspx}");

But in mobile app there is no local host ... its url is something file://android/www/login.html I cant use directly this in redirect url...it gives error the redirect uri must be absolute.

danrleyt commented 7 years ago

Hi There,

I've solved this problem just putting this URL https://www.facebook.com/connect/login_success.html in the field Valid OAuth redirect URIs at facebook developers page,