Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizDigital Marketing Facebook Marketing API 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
_x000D_ You can't get comments nor reactions from Marketing Insights directly. I stand corrected. If you have access to an ad_account insights, then you can use Marketing API to get a post's comments directly. Thanks @lamxung55 Let's say you have and ad_id of 123000000 If you have a token with ads_management or ads_read permission, you can make a request to the Marketing API such as /123000000?fields=creative.fields(effective_object_story_id),insights.fields(actions) This will give you the effective_object_story_id which is the object_id of the post ({page_id}_{post_id}), and its insights including its actions broken down by action type. For example: { "creative": { "effective_object_story_id": "456000000_789000000", "id": "123000000" }, "insights": { "data": [ { "actions": [ { "action_type": "comment", "value": "12" }, { "action_type": "like", "value": "2" }, { "action_type": "post", "value": "3" }, { "action_type": "post_reaction", "value": "29" }, { "action_type": "video_view", "value": "558" }, { "action_type": "page_engagement", "value": "604" }, { "action_type": "post_engagement", "value": "602" } ], "date_start": "2017-08-14", "date_stop": "2017-08-20" } ], "paging": { "cursors": { "before": "xxx", "after": "xxx" } } } } The effective_object_story_id (so, post_id) is 456000000_789000000. You can then query the comments edge of the post adding summary=true as a parameter. This endpoint is public for common posts (however, it won't work for non public posts) /456000000_789000000/comments?summary=true Which will respond with an object like { "data": [