Android single sign-on

前端 未结 5 2103
故里飘歌
故里飘歌 2020-12-08 12:38

I\'m getting login failed invalid key error while using an updated version of Facebook. If I delete it - it\'s working fine..

What is t

5条回答
  •  Happy的楠姐
    2020-12-08 13:18

    First, you need to create the hash key using the below code according to your path.

    C:\Documents and Settings\Logistic103>keytool -export -alias androiddebugkey -keystore "C:\Documents and Settings\Logistic103\.android\debug.keystore" | E:\Downloads\openssl-0.9.8k_WIN32\bin\openssl.exe sha1 -binary | E:\Downloads\openssl-0.9.8k_WIN32\bin\openssl.exe enc -a -e
    

    Then enter the password:

    Enter keystore password:  android
    

    Then go to Facebook developers and login into Facebook. After login goto your application and click on edit setttings link:

    Enter image description here

    Then add the generated key as under to your application,

    Enter image description here

    And that's how you do it ;)

    The above steps works well for me.

提交回复
热议问题