Add HTML meta
tags to an article to provide more details about the article including content type, subscription requirements, and more. Adding tags will help Facebook organize your indexed article and deliver them to the most appropriate audience.
meta
tags are optional but encouraged.og:url
to help identify the canonical URL for an article.The following example is for an article that is free to everyone and is an opinion piece.
<head> <meta property="og:url" content="https://www.example.com/article" /> <meta property="article:content_tier" content="free" /> <meta property="article:opinion" content="true"/> ... </head>
The following example is for an article that is a news article, contains Sports and Tennis content, is metered, allowing non-subscribers to view a select number of articles for free before seeing a paywall, and is targeted for the city of Bath is the county of Somerset.
<head> <meta property="article:opinion" content="false"/> <meta property="article:tag" content="Sports"/> <meta property="article:tag" content="Tennis"/> <meta property="article:content_tier" content=”metered”/> <meta property="article:location" content="city:bath,somerset"/> ... </head>
The following tables name and describe the HTML Meta Tags property attributes and content values available for your article's source code.
Property
Attribute and Content
ValueProperty Value | Content Value | Description |
---|---|---|
|
| Describes the tier status for an article. Note: If you are currently using the Instant Articles Paywall, be aware that the |
| The value can be one of the following:
| Defines the location to target for the article. Recommended for geo tagging content. This allows Facebook target the article to people to whom it would be most relevant and to develop and improve upon machine learning-based methods for identifying local content. To provide multiple locations, a location-tag for each location needs to be added. |
|
| Indicates whether the article is an opinion piece or not. Recommended. |
| Values can be one or more of the following:
| Describes the article content. Note: To use multiple tags, each tag must be contained within its own meta tag.
|
Required for syndicated content. | The source URL | Defines the canonical URL that points to the original source for the article. For syndicated content. |