For stories this target contains the content of the story, for engagements this target contains content of the parent story being engaged with.

Remember that engagements can be likes, comments, or reshares. Keep in mind that the text of a comment is never available for filtering in DataSift.

note icon

The contents of this target includes any links and hashtags present in the body of the story.

See also: fb.parent.content, fb.content.


  1. Filter for stories that mention an event and for engagements on those stories:

    fb.all.content contains_any "olympics, olympic games"

    This is equivalent to:

    // filter for stories that mention these keywords 
    fb.content contains_any "olympics, olympic games" or 
    // filter for engagements on stories that mention these keywords 
    fb.parent.content contains_any "olympics, olympic games"

  2. Filter for stories (but not engagements) that mention an event:

    fb.content contains_any "olympics, olympic games"

  3. Filter for engagements (only) on stories that mention an event:

    fb.parent.content contains_any "olympics, olympic games"

Resource information

Target service: PYLON for Facebook Topic Data

Type: string

Array: No

Tokenized for query filters: Yes

Interaction filter: Yes

Analysis target: No

Query filter: Yes

Child analysis target: No