简体   繁体   中英

Import from facebook using facebook-php-sdk

I hv used this for long time to retrieve photos from facebook

$this->facebook=new Facebook(array(
     'appId' => $appId,
     'secret' => $fbSecret,
     'cookie' => true
));

$this->facebook->getUser() // gives info of current user.

now from october 25 its stopped working , any idea ?

Please verify your app_id and app_secret are correct.

If you get again this issue,that may be expired. Update your facebook app id and secret key.

For verify your Token expire - try this link https://developers.facebook.com/tools/debug

For more details of app id validate - How to validate Facebook App ID

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM