Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hardikchoudhary opened this issue Mar 11, 2016 · 1 comment

Comments

@hardikchoudhary
Copy link

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
Copy link

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants