How to Display Twitter Cards in Drupal Using Metatag Module

Twitter Cards make it possible to attach media to Tweets. The media can be a summary of a page, image or a video. For example, when you see an article summary with a teaser image below a Tweet, that is a Twitter card.

Displaying Twitter cards on your site is simple, all you need to do is add a few meta-tags to your webpage. These meta-tags are very similar to the Open Graph meta-tags that Facebook uses.

Adding the required tags on a Drupal site is pretty easy thanks to the Metatag module, just enable the sub-module called “Metatag: Twitter Cards”.

In this video we’ll setup the Twitter cards tags to be displayed on content pages.

Modules

Resources