I am using Facebook login in android.
Code:
callbackManager = CallbackManager.Factory.create();
LoginButton loginButton = (LoginButt
In my case the generated hash key was wrong because i was using wrong OpenSSL. I was using openssl-0.9.8k_X64.zip instead of openssl-0.9.8e_X64.zip and this generated me a wrong hash key which caused this problem hope it helps some one i lost like 8 hours trying to figure this out.
I find the solution , this appends when you don't have evaluate users in your app .
Enter in your panel App Select Rol
And add test users , when your try to login with test users , the application executes without fails
Issue Log: SERVER_ERROR: [code] 1675030 [message]: Error performing query
And Accurate Solution for this Specific issue (Error performing query)
is answered by @aloha is by updating the query for access.
loginButton.setReadPermissions("email", "public_profile", "user_friends");
image Reference
Issue Log: App Not Setup. This app is still in development mode. and you dont have access to it. register test user or ask an app admin for permission
HOW TO CHANGE TO LIVE MODE
1. go to : https://developers.facebook.com
2. select your app on "My Apps" List
3. toggle the switch from OFF to ON
HOW TO ADD AS TEST OR ADMIN
1. go to : https://developers.facebook.com
2. select your app on "My Apps" List
3. go to : Roles > Roles > Press Add for example administrator
4. Search your new admin/tester Facebook account.
5. admin must enter facebook password to confirm.then submit
the new admin must go to developer.facebook page and accept the request
6. go to : https://developers.facebook.com
7. Profile > Requests > Confirm
8. Congratulation you have been assign as new Admin
HOW TO GET AND SET HASHKEY FOR DEVELOPMENT
as Refer to Facebook Login Documentation
https://developers.facebook.com/docs/android/getting-started/#create_hash
The most preferable solution by me is by code ( Troubleshooting Sample Apps )
it will print out the hash key. you can update it on
https://developers.facebook.com/apps/yourFacebookappID/settings/basic/
on Android > Key Hashes section
a step by step process on how to get the hashKey.
Firstly Add the code to any oncreate method
Run The app and Search the KeyHash at Logcat
step by step process on how Update on Facebook Developer.
Open Facebook Developer Page. You need access as to update the Facebook Developer page: https://developers.facebook.com
Follow the step as follow.
you need to see if the user that connect in the phone facebook app is a user that have test or developer permissions in the facebook developers on the app page.
I just added this line and it worked for me.
facebookLogin.setReadPermissions("email", "public_profile", "user_friends");
I was getting a similar issue because Firebase UI was specifying the android:value
. This is how I solved it:
<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme.Base">
<meta-data
android:name="com.facebook.sdk.ApplicationId"
tools:replace="android:value"
android:value="@string/facebook_app_id" />
<acitivity
...
</activity>
...