Facebook app is Public, but gives error “App not setup” when logging in

前端 未结 5 1366
没有蜡笔的小新
没有蜡笔的小新 2020-12-16 14:54

I have an Android app using Facebook to login.

The app is already public: \"enter

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-16 15:04

    Unlike Google, Facebook api needs a valid ssl certificate. So if your website isn't https then according to facebook you are still in development mode. Here is the link to their docs https://developers.facebook.com/docs/apps/security

    For development purposes you can use the roles option (can be found on the leftside menu). In here you can enroll your self as a developer or tester to use all the live features.

    Once you are done with the development you will have to get an ssl certificate. You can also use a free service like https://letsencrypt.org to get a valid certificate, facebook requires your certificate to be sha256WithRSAEncryption, i personally haven't used letsencrypt with facebook yet but they are one of their sponsors to i guess it should meet their criteria of a decent certificate.

提交回复
热议问题