App is misconfigured for Facebook login : Kindle Fire Integration Issue

前端 未结 5 2046
南旧
南旧 2021-01-06 16:30

We integrated Facebook login on our Kindle Fire android app. It works without any problem most of the time. But occasionally for some users, when they try to register using

5条回答
  •  不知归路
    2021-01-06 17:28

    The solution from Blanka works.

    However, here's another solution easier to do if you can reproduce the issue on a Kindle Fire.

    Retrieve from LogCat the authentication request sent by Facebook:

    03-13 15:21:19.360: D/WebCore(26863): *-* Total load time: 1535.31 ms, thread time: 287.00 ms for
    https://m.facebook.com/dialog/oauth?android_key=XXXXXXXXXXXXX&calling_package_key=
    &client_id=YYYYYYYYYYYY&display=touch&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=email%
    2Cpublish_stream&type=user_agent&_rdr
    

    android_key parameter is the Hash Key of your app. You need to add this key on the Facebook Dashboad.

    Note: Be careful, the encoding format of your hash may in the https request be different that the one needed by Facebook.

提交回复
热议问题