SammyK / LaravelFacebookSdk

Fully unit tested Facebook SDK v5 integration for Laravel & Lumen
MIT License
693 stars 201 forks source link

(#803) Some of the aliases you requested do not exist: {post_id here} #187

Open izorwebid opened 7 years ago

izorwebid commented 7 years ago

i tried this to get summary of single post

try{
      //$response = $fb->get('/{post_id here}?fields=likes.summary(true),comments.summary(true),reactions.summary(true)');
       $response = FacebookSDK::get('/{post_id here}?fields=likes.summary(true),comments.summary(true),reactions.summary(true)');
        }
        catch(Facebook\Exceptions\FacebookSDKException $e){
            dd($e->getMessage());
        }

dd($response->getGraphEdge());

i got error (#803) Some of the aliases you requested do not exist: {post_id here}

example post_id = 205508504909090_10213848362898989

Is this related to the unapproved user_posts permissions?

izorwebid commented 7 years ago

but i try with this endpoint,

 $response = FacebookSDK::get('/me/feed?fields=comments.summary(true),likes&limit=10');

I did not get that error