Skip to main content
Solved

Facebook ( Posts Reltead to keywords and ALL comments on returned posts)

  • April 12, 2025
  • 1 Reply
  • 82 views

Forum|alt.badge.img+3

Hi,
I'm wondering if there's a way to write a query that returns:

  • Posts based on specific keywords and post type (e.g., posttype:og)

  • And the comments related to those posts (not just comments that contain the keywords themselves)

I want to analyze both the posts and their comments to better understand how customers are feeling and reacting to the content or topic.

Essentially:
(“Keyword” AND posttype:og) + comments on those posts
→ Posts related to keywords, and comments related to those posts.

also i know that you can copy post link and return the comments but with large number of posts that can be hard to do 

Thank you

Best answer by Cris Rice

Hi ​@MalekHajaj,

You are actually really close to the boolean. Here are some options below:  

  • Comments on Native Facebook Posts:
    • ("Keyword/phrase") and (posttype:og) and (author:Comment)

  • Visitor Posts Containing a Keyword: 
    • author:"visitor post" AND “keyword/phrase”
  • Comments Containing a Keyword on a Specific Page:
    • author:Comment AND author:"Sailing World
  • Comments on a Specific Post:

You can access the Complete Boolean Library here.

Whichever search you're running, make sure your Source Type is set to Facebook to ensure accurate results.

 

This approach is great if you want to:

  • Track how your audience is engaging with branded content

  • Understand sentiment or feedback in the comments

  • Compare original posts and visitor-generated content

I hope this helps!

1 reply

Cris Rice
mEmployee
Forum|alt.badge.img+2
  • mEmployee
  • Answer
  • April 14, 2025

Hi ​@MalekHajaj,

You are actually really close to the boolean. Here are some options below:  

  • Comments on Native Facebook Posts:
    • ("Keyword/phrase") and (posttype:og) and (author:Comment)

  • Visitor Posts Containing a Keyword: 
    • author:"visitor post" AND “keyword/phrase”
  • Comments Containing a Keyword on a Specific Page:
    • author:Comment AND author:"Sailing World
  • Comments on a Specific Post:

You can access the Complete Boolean Library here.

Whichever search you're running, make sure your Source Type is set to Facebook to ensure accurate results.

 

This approach is great if you want to:

  • Track how your audience is engaging with branded content

  • Understand sentiment or feedback in the comments

  • Compare original posts and visitor-generated content

I hope this helps!