The ISO 3166-1 alpha-2 two-letter country code for the author of a story receiving comments, reshares, or likes.

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 country codes that you can filter against.

See also: fb.author.country_code.


  1. Filter for comments, reshares, or likes for stories about coffee, from women in the United Kingdom:

    fb.parent.author.gender == "female" and fb.parent.author.country_code == "GB" 
    and fb.parent.content contains "coffee"


Check out our language support for topic detection and sentiment.

Resource information

Target service: PYLON for Facebook Topic Data

Type: string

Array: No

Tokenized for query filters: No

Interaction filter: Yes

Analysis target: Yes

Query filter: Yes

Child analysis target: No