facebookarchive / php-graph-sdk

The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login. https://developers.facebook.com/docs/php
Other
3.18k stars 1.96k forks source link

get function don't return videos from some groups #1214

Open TaktakTaktouk opened 3 years ago

TaktakTaktouk commented 3 years ago

When I call the get function it returns an empty body and a header with httpStatusCode = 500 but when I try the same request on Graph API Explorer I work.

$fb = $this->fbCon ();

$response = $fb->get(
                '{group_id}/videos?type=uploaded&fields=source,title,description,id,privacy&limit=3',
                $this->getUser()->getFacebookAccount()->getAccessToken ()
                );

var_dump($response);
die();