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 from facebook not being catched #163

Open
PedroRTomas opened this issue Jul 29, 2021 · 1 comment
Open

redirect from facebook not being catched #163

PedroRTomas opened this issue Jul 29, 2021 · 1 comment

Comments

@PedroRTomas
Copy link

PedroRTomas commented Jul 29, 2021

Hello,
I successfully implement the login and media fetch from Instagram and was trying to do something similar using implemented Facebook API functionalities, however, that is not being possible:
#Issue
After login with a valid Facebook account, the page opens the redirect Url instead of getting the needed parameters present in the URL and returning the user object.

#Code to reproduce
https://www.dropbox.com/s/fv8pm61tqq3mjw7/facebook_login.dart?dl=0
(If you have any problems accessing the code, please let me know)

#Expected Behaviour
The code on the URL is caught and then the normal flow of exchanging the code for the token is triggered.

##More useful information
AndroidManifest.xml
image

pubspec.yaml
image

Any thoughts?

Thanks in advance,
Pedro Tomás

@scadot
Copy link

scadot commented Jan 17, 2022

I have the same problem.
Instagram works fine but the redirection with facebook doesn't work. The redirect URL is opened.

@PedroRTomas , how did you manage this problem ? Any solution or workaround?

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