-
Notifications
You must be signed in to change notification settings - Fork 228
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
The redirect_uri URL is not supported! #123
Comments
I`m using JSConsole.com for tests! Return:
Ok, but when I click the login button, it gives the following error: Someone to help me? |
I'm having this issue too. |
Apparently file:// URL is not valid... |
I wonder to know why you guys are trying to use a local url like file:///C:/Users/SERVIDOR/Desktop/sample/www/oauthcallback.html&response_type=token&display=popup&scope=email Of course this is not a valid url, the limitation is because Facebook. // Default OAuth redirect URL. Can be overriden in init() where /outhcallback.html depends of baseURL. baseURL takes the Facebook Settings under "Valid OAuth redirect URIs", in other words this is the expected behavior in my understanding. |
'I'm testing the login from the desktop, and it's giving this error!
The popup link that opens is this:
https://www.facebook.com/dialog/oauth?client_id=XXXXXXXXXX&redirect_uri=file:///C:/Users/SERVIDOR/Desktop/sample/www/oauthcallback.html&response_type=token&display=popup&scope=email
If it is by localhost:8000 (Phonegap Test), it works normally!
oauthcallback.html:
<script> window.opener.openFB.oauthCallback(window.location.href); window.close(); </script>
openfb.js: http://pastebin.com/KsJzNFnN
Where is the error?
Thanks!
The text was updated successfully, but these errors were encountered: