Skip to content

Commit cc51f04

Browse files
authored
delete comment out
1 parent 50e9df8 commit cc51f04

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

FacebookStrategy.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ private function me($access_token){
126126
if ( isset($this->strategy['fields']) ) {
127127
$fields = $this->strategy['fields'];
128128
}
129-
130-
//$me = $this->serverGet('https://graph.facebook.com/v2.8/me', array('access_token' => $access_token, 'fields' => $fields), null, $headers);
129+
131130
$me = $this->serverGet('https://graph.facebook.com/v2.10/me', array('appsecret_proof' => hash_hmac('sha256', $access_token, $this->strategy['app_secret']),'access_token' => $access_token, 'fields' => $fields), null, $headers);
132131

133132
if (!empty($me)){

0 commit comments

Comments
 (0)