In this example, I will share how to solve the error when accessing facebook login You can use it like following example:
1 2 3 4 5 6 7 8 | _facebookSignIn() async { final _facebookConnect = new FacebookConnect( appId: '<APP_ID>', clientSecret: '<CLIENT_SECRET>'); FacebookOAuthToken token = await _facebookConnect.login(); //FirebaseUser user = await FirebaseAuth.instance.signInWithFacebook(accessToken: token.access); // return user;} |
You have to follow the instructions at developers.facebook, and add http://localhost:8080 in your app Settings under Products>MyApp>Settings.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.