PHP-OAuth2
PHP-OAuth2 copied to clipboard
Facebook 2.4 or next require fetch parameters like fields=id, name
Fetch method can/should be called with $parameters argument in order to remain compatible with 2.4 facebook api updates. For most Graph API calls in v2.4 you will need to declaratively list the response fields for your calls. https://developers.facebook.com/docs/apps/upgrading#v23tov24
Fetch argument: Array $parameters build a wrong url. it must have format like field=id, name