# Facebook

{% hint style="info" %}
The ***CTRL+F*** command and ***Command+F*** on a Macbook allows you to easily find your filter in the table.
{% endhint %}

### Common filter for all the social networks

<table data-header-hidden><thead><tr><th></th><th width="246"></th><th></th></tr></thead><tbody><tr><td><strong>keyword</strong></td><td>Allows you to focus on all the posts containing the keyword with or without a hashtag before. </td><td><strong>car</strong><br>It focuses on all the posts with the keyword 'car' or the hashtag 'car'.</td></tr><tr><td><strong>"the exact expression"</strong></td><td>Allows you to focus on all the posts containing the exact expression : all the words of this expression, in this exact order. </td><td><strong>"blue car"</strong><br>It focuses on all the posts with the key-expression 'blue car' in it. <br>It doesn't search for the following content : <em>the blue auto and the yellow car</em>.</td></tr><tr><td><strong>#keyword</strong></td><td>Allows you to focus on all the posts containing a specific hashtag.</td><td><strong>#car</strong><br>It focuses on all the posts containing the hashtag #car.<br>It won't search for the posts containing the keyword 'car' without a #.</td></tr><tr><td><strong>lang:</strong></td><td>Allows you to only focus on posts in a specific language. <br>xx = language abbreviation<br><br>The main languages are : <br>- fr : french<br>- en : english<br>- es : spanish<br>- ja : japanese<br><br><a href="/pages/C7DEtvZeR62psEuOzHX2">Check the 64 languages list</a></td><td><strong>lang:en</strong><br>It focuses on all the english speaking posts.</td></tr><tr><td><strong>contains:</strong></td><td>Allows you to focus on all the posts containing a sequence of characters. <br><br>This filter is not taking the case letter or accents into consideration.</td><td><strong>contains:lik</strong><br>It focuses on all the following posts : like, liking, likely, likers but also filk, bilk etc...</td></tr><tr><td><strong>!contains:</strong></td><td>Allows you to focus on a sequence of characters while being word case sensitive. <br><br><em>WARNING: this filter is case &#x26; accent sensitive</em> </td><td><strong>!contains:Lik</strong><br>It focuses on all the posts containing the characters's list <strong>Lik</strong> while being sensitive to word case (only with a capital L).<br><br>This filter is very useful to focus on a proper noun for example the name of your brand).</td></tr><tr><td><strong>emoji:</strong></td><td>Allows you to focus on posts containing a specific emoji. </td><td><strong>emoji:joy</strong><br>It focuses on all the posts containing the emoji "<em>joy</em>"😂<br><br></td></tr><tr><td><strong>has_emoji:</strong><br>(true/false)</td><td>Allows you to focus on posts containing one or more emoji. </td><td><strong>has_emoji:true</strong><br>It focuses on all the posts containing at least one emoji.</td></tr><tr><td><strong>hashtag_count</strong>:<br>(&#x3C;/>/=)</td><td>Allows you to filter publications according to the number of hashtags contained in the publication</td><td><strong>hashtag_count:&#x3C;10</strong><br>Filter on Facebook posts with less than 10 hashtags.</td></tr><tr><td><strong>mention_count:</strong> <br>(&#x3C;/>/=)</td><td>Allows you to filter publications according to the number of accounts mentioned in the publication</td><td><strong>mention_count:&#x3C;10</strong><br>Filter on publications containing less than 10 accounts mentioned</td></tr><tr><td><strong>char_count:</strong><br>(&#x3C;/>/=)</td><td>Filter posts by the number of characters in a post.</td><td><strong>char_count:</strong>&#x3C;50<br>Filters posts with fewer than 50 characters.</td></tr><tr><td><strong>post:</strong></td><td>It allows you to identify a specific post.</td><td><strong>post:"10157039285687866"</strong><br>Focus on a Facebook post specified by the ID in his URL.</td></tr><tr><td><strong>has_comments:</strong><br>(true/false)</td><td>It allows you to focus on posts containing at least one comment.</td><td><strong>has_comments:</strong>true<br>Focus on all the posts containing at least one comment. <br><br>Perfect when you want to see only publications that make people react. </td></tr><tr><td><strong>likes:</strong><br>( > / &#x3C; / = )</td><td>It allows you to focus on the posts according to their likes's number. </td><td><strong>likes:</strong>>30000<br>Filter on posts that have generated more than 30000 likes.</td></tr><tr><td><strong>reactions:</strong><br>( > / &#x3C; / = )</td><td>It allows you to focus on the posts according to their reaction's count. </td><td><strong>reactions :>30000</strong><br>Filter on posts that have generated more than 30000 reactions.</td></tr><tr><td><strong>interactions:</strong><br>( > / &#x3C; / = )</td><td>It allows you to focus on the posts according to their interactions's count. </td><td><strong>Interactions :>30000</strong><br>Filter on posts that have generated more than 30000 interactions.</td></tr><tr><td><strong>shares:</strong><br>( > / &#x3C; / = )</td><td>It allows you to focus on the posts according to their shares's count. </td><td><strong>shares:>2000</strong><br>Filter on posts that have generated more than 2000 shares.</td></tr><tr><td><strong>comments:</strong><br>( > / &#x3C; / = )</td><td>It allows you to focus on the posts according to their comments's count. </td><td><strong>comments:>1000</strong><br>Filter on posts that have generated more than 1000 comments.</td></tr></tbody></table>

### Specific content filters for Facebook

| Operator                                             | Use                                                                                                                                                                                                                                                                                 | Example                                                                                                                                                                                                                                                                                                        |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **full\_contains:**                                  | <p>Allows you to combine different filtering options at once: contains / link\_title\_contains / link\_description\_contains<br><br>In other words, it will search in posts and articles at the same time. </p>                                                                     | <p><strong>full\_contains:lik</strong><br>It focuses on all the following contents : like, liked, etc<br>But also : likely, unliked, unlikely, etc.</p>                                                                                                                                                        |
| **!full\_contains:**                                 | <p>Allows you to combine different filtering options at once: !contains / !link\_title\_contains / !link\_description\_contains<br><br>In other words, it will search in posts and articles at the same time. <br><br><em>WARNING: this filter is case & accent sensitive</em> </p> | <p><strong>!full\_contains:Mel</strong><br>It focuses on all the posts containing the sequence of characters Mel but taking the case letter and accents into consideration (only with a capital M)<br><br>This filter is very usefull if you want to focus on a proper noun (for exemple your brand name).</p> |
| <p><strong>has\_link:</strong> <br>(true/false)</p>  | It allows you to focus on the posts containing a link (article, photos, videos...)                                                                                                                                                                                                  | <p><strong>has\_link:true</strong><br>It allows you to make a list of all the tweets related to your topic and containing a link. <br>It's ideal if you want to exclude the posts redirecting to a press coverage. </p>                                                                                        |
| <p><strong>has\_medias:</strong><br>(true/false)</p> | It allows you to focus on all the posts containing a media (articles, photos, videos...)                                                                                                                                                                                            | <p><strong>has\_medias:true</strong><br>It allows you to list all the posts related to your topic and containing a media. </p>                                                                                                                                                                                 |
| **country:**                                         | Allows you to filter the publications of people who have indicated that they live in a certain country.                                                                                                                                                                             | <p><strong>country:fr</strong><br>Filter on publications by Internet users living in France</p>                                                                                                                                                                                                                |

### Pages filters

| Operator                                                                                   | Use                                                                                                                                                                                         | Example                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **page:**                                                                                  | It allows you to focus on all the posts of a specific page                                                                                                                                  | <p><strong>page:EmmanuelMacron</strong><br>It focuses on all the posts of Emmanuel Macron's page.<br>This is the name found in the url of the page or behind the @</p>                                                                        |
| **page\_name:**                                                                            | It allows you to focus on the posts of a specific page as well.                                                                                                                             | <p><strong>page\_name:"Emmanuel Macron"</strong><br>It focuses on all the posts of Emmanuel Macron's facebook page. <br>This is the name that has been given to Emmanuel Macron's page.</p>                                                   |
| **page\_id:**                                                                              | <p>It allows you to focus on the posts of a specific page as well from its login Facebook. <br><br>Useful in case a page change its name, the ID stay the same. </p>                        | <p><strong>page\_id:123456789</strong><br></p><p>Allows you to focus on the posts of this page.</p>                                                                                                                                           |
| **page\_name\_contains:**                                                                  | It allows you to identify the pages containing a sequence of definite characters.                                                                                                           | <p><strong>page\_name\_contains:mcdo</strong><br>Focus on all the pages containing in their name: mcdo, mcdonalds, mcdonald...</p>                                                                                                            |
| **!page\_name\_contains:**                                                                 | <p>Allows you to identify pages whose name contains a defined sequence of characters, while being case- and accent-sensitive.</p><p></p><p>WARNING: Filter is case and accent sensitive</p> | <p><strong>!page\_name\_contains:Roche</strong></p><p>Identifies pages whose name contains the character string Roche (with upper-case R and lower-case oche).</p><p></p><p>This filter is ideal for identifying company pages</p>            |
| **category:**                                                                              | It allows you to focus on a specific category's page.                                                                                                                                       | <p><strong>category:website</strong><br>Focus on all the pages declared as website on Facebook.</p>                                                                                                                                           |
| **category\_contains:**                                                                    | It allows you to identify the pages's category containing a sequence of definite characters.                                                                                                | <p><strong>category\_contains:polit</strong><br>Focus on all the pages whose category includes "polit". For example the pages categorized as "Political organization", "Politician", "Political party" or also "Political candidate" ... </p> |
| <p><strong>content\_type:</strong><br>(picture / video / link / status / note / music)</p> | It allows you to identify the posts depending on their content.                                                                                                                             | <p><strong>content\_type:video</strong><br>Focus on all the posts containing a video.</p>                                                                                                                                                     |
| **from:"unknown"**                                                                         | It allows you to focus on all the private accounts's posts on Facebook's posts.                                                                                                             | <p><strong>from:"unknown"</strong><br>Focus on all the posts of "unknown" profile having expressed on any Facebook page. <br>Will NOT catch posts from public pages. </p>                                                                     |
| **author\_name\_contains:**                                                                | It allows you to identify the posts's author containing a sequence of definite characters.                                                                                                  | <p><strong>author\_name\_contains:Mac</strong><br>Focus on all the publications's author including "Mac" in their names. For example the publication's author can be "Emmanuel Macron" or "MacDonald's".</p>                                  |
| <p><strong>page\_likes:</strong><br>( > / < / = )</p>                                      | It allows you to focus on pages according to their likes's number.                                                                                                                          | <p><strong>page\_likes:<100</strong><br>Filter on pages that have generated less than 1000 likes.</p>                                                                                                                                         |
| <p><strong>followers\_count:</strong><br>( > / < / = )</p>                                 | It allows you to focus on pages according to their followers count.                                                                                                                         | <p><strong>followers\_count:</strong><100<br>Filter on pages that have generated less than 1000 likes.</p>                                                                                                                                    |

### Link filters

<table><thead><tr><th width="250">Filters</th><th width="264">Explanations</th><th width="263.3333333333333">Examples</th></tr></thead><tbody><tr><td><strong>domain:</strong></td><td>It allows you to focus on articles from a particular website. </td><td><strong>domain:</strong>mediapart<br>Filters on articles from the website mediapart, allows to isolate high impact content from the media.</td></tr><tr><td><strong>domain_contains:</strong></td><td>It allows you to focus on articles from websites having a sequence of defined characters</td><td><strong>domain_contains:</strong>blog<br>Filters on links from websites having in domain's name the sequence of following characters : "blog"</td></tr><tr><td><strong>url:</strong></td><td>It allows you to focus on a specific article thanks to it's website address</td><td><strong>url:</strong>"www.lemonde.fr/article"<br>Filter on the Monde's article on this specific website address</td></tr><tr><td><strong>url_contains:</strong></td><td>It allows you to focus on articles having an address (url) which contains a specific sequence of characters. <br>Filter not case or accent sensitive</td><td><strong>url_contains:</strong>scandal<br>Filter on all the articles whose the website address contains the sequence of following characters:"scandal".<br>Will consider the following words in URLs: sacandal, scandalous, scandalized ...</td></tr><tr><td><strong>link_title_contains:</strong></td><td>It allows you to focus on the articles whose title contains a sequence of characters. <br>This filters doesn't take the case letter or accents into consideration.</td><td><strong>link_tilte_contains:</strong>impo<br>It focuses on all the articles containing the following sequence of characters :"impo"<br>It's going to consider : impossible, import, important, importance...</td></tr><tr><td><strong>!link_title_contains:</strong></td><td>It allows you to focus on the articles whose title contains a sequence of characters.<br><br><em>WARNING: this filter is case &#x26; accent sensitive</em> </td><td><strong>!link_title_contains:Mac</strong><br>It focuses on all the articles containing the following sequence of characters : Mac but while taking the case letter into consideration (only with a capital M). <br>It will consider "MacDonald's" but not "big mac" for example.</td></tr><tr><td><strong>link_description_contains:</strong></td><td>It allows you to focus on the articles whose body article (content, description, introduction) contains a specific sequence of characters. <br></td><td><strong>link_description_contains:mac</strong><br>It focuses on all the articles whose content contains the following sequence of characters : mac.<br>It will consider : macdonald's, macron, macaroon, machine...</td></tr><tr><td><strong>!link_description_contains:</strong></td><td>It allows you to focus on the articles whose body article (description, introduction, content) contains a specific sequence of characters.<br><br><em>WARNING: this filter is case &#x26; accent sensitive</em> </td><td><strong>!link_description_contains:Mel</strong><br>It focuses on the articles whose content contains the sequence of characters Mel but taking into consideration the case letter (only with a capital M)</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.visibrain.com/filters-and-helpful-documents/list-of-operators-to-add-filters/facebook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
