my website parses facebook feed stopped work following error message: " location field deprecated versions v2.3 , higher", "type": "oauthexception", "code": 12"
i making 2 calls facebook graph:
$authtoken = fetchurl("https://graph.facebook.com/v2.2/oauth/access_token?grant_type=client_credentials&client_id={$appid}&client_secret={$appsecret}"); //print_r($authtoken); //1 $json_object = fetchurl("https://graph.facebook.com/v2.2/{$page_id}/feed?{$authtoken}&limit={$limit}"); displaydata($json_object); //2 - gets authentication token
- tries access page feed.
i don't add location paramaters, therefore don't understand why doesn't work? appreciated. janusz
wow! limit (&limit={$limit}) paramater in query:
$json_object = fetchurl("https://graph.facebook.com/v2.2/{$page_id}/feed?{$authtoken}&limit={$limit}"); once removed started work should.
Comments
Post a Comment