php - Facebook Graph API - Login to website using facebook - re authentication issue -


i using facebook graph api login via facebook website. i'm facing problem here, when deny access while trying facebook. it's redirecting website correct. after if used same facebook account signup / login website, not asking authentication , it's redirecting website without loging in. happening since denied first time. there way can force re authentication.

i checked someother website having feature, working fine if denied first time. not sure if using graph api, may using javascript sdk.

i need solution using graph api. 1 have solution issue.

please reply.

thank in advance tibin mathew

if user declined permission asking once, can not show same login dialog again – noticed, won’t ask permissions again.

you need pass additional parameter, auth_type=rerequest, next login dialog call, if want ask permission user declined again.

https://developers.facebook.com/docs/facebook-login/permissions/requesting-and-revoking#handling


Comments