How can I re-authenticate to Facebook using PHP sdk?

I want the user to re-enter the password before they can enter my application. The facebook documentation shows this only with the Javascript SDK. Can someone help me or give me some recommendations on how to do this using php?

here is what it looks like in js:

FB.login(function(response) {
// Original FB.login code
}, { auth_type: 'reauthenticate' })
+5
source share
2 answers

Follow the official documentation, but use getReAuthenticationUrlinstead getLoginUrl.

The options are exactly the same as getLoginUrl.

+2
source

PHP SDK, , , access_token.

, : PHP SDK, , HELL.

, , facebook, , PHP SDK. 10s , JS API, . FB, .

, PHP SDK CRON (offline).

-2

All Articles