1

I am integrating Facebook login in my current application and I am getting key hash error and it is getting so irritating, as, even after adding the key which is missing, in Facebook developer console, I am getting the same error again and again.(Refer image)

enter image description here

I tried almost all solutions available on Stackoverflow but the solution is common in every answer and even after making the changes, I am not able to login through Facebook Even I have added this hash key into my project.(Shown in image)

enter image description here

PS: My app is still under development and not active on play store.

user3678528
  • 1,741
  • 2
  • 18
  • 24
Kunal
  • 412
  • 5
  • 21
  • Check this solution and follow these given steps:- https://stackoverflow.com/a/44782435/3974530 – InsaneCat Jul 25 '18 at 11:11
  • have you activated our app in FB developer console ? – Vihaari Varma Jul 25 '18 at 11:12
  • @Vihaari Varma, No, when i am trying to do so i am getting this message: You must provide a valid Privacy Policy URL in order take your app Live. Go to Basic Settings and make sure it is valid. – Kunal Jul 25 '18 at 11:15
  • @InsaneCat, do i need to have an active developer account for integrating Facebook login? – Kunal Jul 25 '18 at 11:18
  • There i a two option for this. first you can make it your app live in play store then after it is going to active or second thing you need to add testers in developer account for temporary basis. – InsaneCat Jul 25 '18 at 11:20
  • @Kunal are you sure you saved the new hash to fb dev account correctly? – Vihaari Varma Jul 25 '18 at 11:23
  • @VihaariVarma yes, i have checked it multiple times – Kunal Jul 25 '18 at 11:25
  • Put a currect hashkey in FB develoepr account and add a tester in Setting/Roles/Role/add Tester this is working for you. – InsaneCat Jul 25 '18 at 11:25

1 Answers1

3

You must be trying to login through release version of your app while your app is in development mode in Facebook developer account. Even if you have submitted hash of your release key, Login won't work until your app goes live on Facebook too. And for that,you have to submit your privacy policy.

But, you can still test your debug version of your app by submitting hash of your debug key. To know how, Follow This link.

UPDATE

You have mistyped '43O' as '430' in your key hash submitted to FB developer account. Correct it. For everyone else - be careful, also I and l are looking almost identically.

tenbits
  • 7,568
  • 5
  • 34
  • 53
Vihaari Varma
  • 155
  • 11