Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
izorwebid opened this issue Aug 11, 2017 · 1 comment
Open

Comments

@izorwebid
Copy link

izorwebid commented Aug 11, 2017

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
Copy link
Author

izorwebid commented Aug 11, 2017

but i try with this endpoint,

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

I did not get that error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant