Search code examples
facebookfacebook-graph-apicomments

How can I retrieve only specific comments with certain key words for a Facebook post using Facebook graph API? Please advise


I am able to retrieve all the comments for a post using page.id_post.id/comments. But I would like to retrieve only comments that contain certain words like "good", "great" etc.. please advice how.


Solution

  • There is no filter of that kind available.

    You will have to get all comments, and then filter out the ones you are interested in on your end.