Search code examples
facebookfacebook-graph-apifacebook-fqlfacebook-comments

FQL - List comments of a post


I'm looking to run a competition on Facebook for my company by posting a question and entering the commenters into a random draw.

I was wondering if it was possible using either FQL or graph to list people who have commented on a particular post, along with the date of their comment?


Solution

  • Using the Graph API Explorer, if you use the following

    /me?fields=id,name,posts.limit(10).fields(comments)
    

    You can access all the comments on the 10 recent posts. Tinker around - you'll find what you need.