It's very strange. But when we use the exact same GET request of the Facebook Graph API in PHP, it doesn't work.
Any idea why this isn't working with PHP?
GET request with explorer: (works)
Get request with PHP API: (doesn't work)
new FacebookRequest(
$this->session,
'GET',
‘/BucutiTaraBeachResortAruba’,
['fields' => 'id,name,link'],
'v2.3'
))->execute()->getGraphObject()->asArray();
Response: FacebookRequestException (any idea why it's not working?)
Exception occured, code: 100 with message: Unsupported get request. Please read the Graph API documentation at http://ift.tt/1cZ9288; path = /BucutiTaraBeachResortAruba
Aucun commentaire:
Enregistrer un commentaire