I have issue with facebook api,i am getting facebook page posts, likes count is ok but comment count is not giving permission
my code is:
$permissions = ['email', 'user_posts', 'pages_show_list', 'pages_manage_engagement', 'pages_read_user_content', 'pages_read_engagement', 'page_post_engagements'];
CodePudding user response:
To get the count, add ?summary=1 at the end: https://graph.facebook.com/125909647492772_502974003098530/comments?summary=1