This is a flutter app for Social media login integration, the app currently supports twitter, facebook & Google authentication.
-
for google login you don't need any key.
-
to get Facebook and twitter login API keys make a quick google search😊
-
after you get the keys open lib\app\API\keys.dart file and place the twitter keys there
-
go to firebase and create new project
-
enable google, facebook & twitter signin from Sign in methods under Authentication tab in firebase.
-
after that go to project settings in firebase, make sure you are under General tab
-
Scroll till bottom click on add fingerprint
-
Make sure your device is connected to the computer and ADB is enabled
-
Open terminal as Admin and run the command
keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
-
If it asks for password enter android
-
Copy the SHA1 key & head towards firebase screen and paste it click save.
-
Download the google-services.json file make sure it is named as google-services.json only and not
google-services(1).json -
copy paste the downloaded file at the directory project\android\app and perform rebuild of the project.