The ISO 3166-1 alpha-2 two-letter country code for the author.
This value is based on the "Current City" location listed by an author in their profile. An author with a "Current City" location of Chicago who is posting from a country outside the US will still have their stories available for filtering and fb.author.country_code will be US for this author.
Check out the countries you can filter against.
See also: fb.parent.author.country_code.
Filter for stories about coffee from women in the United Kingdom. This filter returns stories but not engagements (likes, comments, and reshares) because fb.content is populated only for stories:
fb.author.gender == "female" and fb.author.country_code == "GB" and fb.content contains "coffee"
Filter for engagements (likes, comments, and reshares) from men over 65 in the US relating to stories that mention coffee. In this code, the first three targets relate to the engagement while fb.parent.content relates to the story that the engagement is referencing:
fb.author.gender == "male" and fb.author.age == "65+" and fb.author.country_code == "US" and fb.parent.content contains "coffee"
Check out our language support for topic detection and sentiment.
Target service: PYLON for Facebook Topic Data
Tokenized for query filters: No
Interaction filter: Yes
Analysis target: Yes
Query filter: Yes
Child analysis target: No