Home / Information / Changes in authorization with Facebook
July 26 2015

Changes in authorization with Facebook

celsoft 26 July 2015 Information 3 825
0
Dear friends,

Social network Facebook has implemented a new API version 2.4, which amended the authorization of users on the sites. When creating new applications in this social network, they automatically receive this version of the API, whereby it was not possible to use authorization on your sites with Facebook, because e-mail address was not available.

To fix this problem you need to open a file engine/classes/social.class.php find in it:
$params = array('access_token' => $token['access_token']);
replace with:
$params = array('access_token' => $token['access_token'], 'fields' => "id,name,email,first_name,last_name");

The distribution on our server updated.

Comments

This publication has no comments yet. You can be the first!

Information

Users of Гости are not allowed to comment this publication.

Calendar

«    August 2020    »
MonTueWedThuFriSatSun
 12
3456789
10111213141516
17181920212223
24252627282930
31 

Voting On The Website

Please, rate the engine

Tags Cloud