

In this section, we will present all tags that can be used when setting a Twitter business card, divided into card types. Group B – tags that parameterize data dedicated only to Twitter cards Please also note: twitter:card and og:type according to Twitter specifications can be treated identically, although “twitter:card” has values different to og:type, and so they are not identical tags. (*Please note that Twitter and Facebook use different proportions for images – as covered in a previous part 2 of this guide) If you’re using one of the above OG tags on your site, there’s no need to have it’s Twitter counterpart. using Google Tag Manager? Group A – Twitter tags that parameterize data appropriate to the OG protocol
#VIDEO MEDIA META DATA TAGS CODE#
Read also: Why are we still implementing web analytics from the source code level instead of e.g. If you would like to provide the website with slightly better optimization (slightly smaller page size, less irrelevant content), and the page has tags from group A., it doesn’t make sense to generate them again in the Twitter version. twitter:title) needs to be created for it.Īctually, even though separation of those tags allows us to manage their values separately, this action would seem to be pointless on any given page. Hence, if we already have an OG tag (e.g.

The content of the page is checked for OG meta tags.If there are no Twitter tags, e.g.if there are both “og:title” and “twitter:title” tags present on site’s source, then the content from the Twitter tag will be displayed in the Twitter card). The content of the page is checked for twitter meta tags.If they exist, they will be presented in the card (e.g.The Twitter crawler generates data for the card as follows: MediaInfo(Lib) is a convenient unified display of the most relevant technical and tag data for video and audio files. In a local environment, a commonly used tool is MediaInfoLib in the form of the executable program MediaInfo. As it supports various video formats, you can edit basic tags in many videos. Tags that parameterize data dedicated to Twitter cards only (e.g. It is common in the media space to want to determine the characteristics of a media file. So, this is how you can make use of VLC media player as a video tag editor.

Tags that parameterize data exact to the OG protocol (for example: twitter:title, twitter:description etc.).ī. To understand why Twitter has dedicated tags, we must first divide the tags into two groups:Ī. So why the differentiation? Why have extra tags for Twitter? It’s immediately obvious that this tag is similar to og:title in terms of both parameter and content. Twitter is the only social portal which uses tags other than OG.
