php - Facebook not returning User Data in some cases for OAuth 2.0 -


when requesting user data facebook using proper app id , app secret facebook api, in cases providing data required firstname, lastname, email , gender.

but of websites no data returned facebook api creates error , customer not able login store through facebook.

any ideas?

this normal behaviour: data user can choose not divulge when authorises app on facebook. backend need handle cases correctly: choosing default data user or returning error , option try again (using auth_type re-request : https://developers.facebook.com/docs/facebook-login/login-flow-for-web/v2.2#re-asking-declined-permissions )


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -