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 problem. #44
Comments
Here is the full flow. 06-25 08:34:50.212: DEBUG/Facebook-WebView(2670): Webview loading URL: https://graph.facebook.com/oauth/authorize?display=touch... And now I see the browser activity. |
I have the problem too. Currently the facebook-android-sdk opens a Browser for authentication instead of the Dialog. And the Browser fails to redirect back into the Activity. Is there any way to get the authentication back into the Dialog? |
Same thing... is there something to do...it's urgent for me |
I think https://www.facebook.com/connect/uiserver.php?display=touch... used to redirect to https://ssl.facebook.com/login.php?... but now it's going to http://touch.facebook.com/login.php?. and that URL is opened in a web browser (line 138 of FBDialog.java) and not in the pop up window. |
Try pulling the latest version of the code. Let me know if this fixes it. |
It looks like its working now -- thanks! :-) [earlier comment deleted due to error on my part] |
Works fine. Thanks. |
Works for me too, thanks for the quick fix! It makes me wonder though how vulnerable this SDK is for changes on Facebook's side. If I had deployed an app with the last version, all my users would now need to update their app for it to work again. @soneff: What's your opinion on that? Thanks again, and for this SDK in general! |
Yes, I totally understand this concern and have the same concern, and have communicated the problem to the server-side engineering team. I'm writing a functional test suite that I will ask the engineering teams to run before pushing server changes to ensure that they have not made changes that break client code. |
I tried latest code for android 2.2 but it still not working for me. |
Update android v4.26
FB dialog retrieves the redirect response than starts the browser activity instead.
Redirect URL: http://touch.facebook.com/login.php?cancel=....
The text was updated successfully, but these errors were encountered: