Not able to get comments on a media
I have an app in development mode with two test users. It uses instagram platform with instagram login.
I create a post with one user and comment on it with another. Now, when I try to get the comments using the graph API, I get empty comments with before and after cursors.
I have verified the access token and the post ID.
Below is the response I get on querying https://graph.instagram.com/v22.0/{MEDIA_ID}/comments
{
"data": [],
"paging": {
"cursors": {
"before": "QVFIUjU5b3A5ZA21IUjFKNHFOTER2M01QWnRJbEh0Q3VjTU9CTTFJaWVwWFBPaTlxcm94amJJWnJEaGlFbnNGZAWlJZAWZAkSGo3UWVRLVJRY0tjOTJLWWdwSFlR",
"after": "QVFIUjU5b3A5ZA21IUjFKNHFOTER2M01QWnRJbEh0Q3VjTU9CTTFJaWVwWFBPaTlxcm94amJJWnJEaGlFbnNGZAWlJZAWZAkSGo3UWVRLVJRY0tjOTJLWWdwSFlR"
}
}
}
I can see on instagram that the post does have comments, and the token has the permission instagram_business_manage_comments
Please tell me what am I do wrong.
When I queried the same api for a post without comments, it returned empty list again but without the cursors