Facebook recently updated their integration API, so if you have Facebook integration enabled on your website, you’ll need to make a minor change to keep up.
Note: This fix has already been included in version 4.8.9 of SocialEngine PHP.
Specifically, Facebook has removed the "offline_access" permission from their permissions stack. You can read about it here: https://developers.facebook.com/docs/roadmap/completed-changes/offline-access-removal
Because of this change, App owners will see an error message when trying to log in to their website using the Fconnect (or Facebook Connect) button. Here’s what the error message looks like:
Please note that users of the app will not see any problems while using the Fconnect button. But if you get this error message when creating your app, you need to apply a small fix on your website. The compatibility fix will take place in your SocialEngine PHP installation’s core.
First, download the patch attached to this article and extract the downloaded file to get a folder named application.
Replace the existing file:
/application/modules/User/controllers/AuthController.php on your server with the corresponding file at the same path in the downloaded application folder.
If you would prefer to apply the fix directly to your website, then simply open the file:
/application/modules/User/controllers/AuthController.php at around line 753.
You should see the following:
Simply comment out that line:
That should do the trick! If you have any questions, please don’t hesitate to contact us or post a comment here.