Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Twitter Card Integrator

This Integrator allows you to define meta tags for twitter cards. It also renders a live preview.

Configuration

Default Configuration

This is the most basic configuration you need to enable this integrator.

seo:
    meta_data_configuration:
        meta_data_integrator:
            enabled_integrator:
                -   integrator_name: twitter_card
                    integrator_config:
                        twitter_image_thumbnail: 'socialThumb'

Extended Configuration

Add some more types, properties and with this configuration:

seo:
    meta_data_configuration:
        meta_data_integrator:
            enabled_integrator:
                -   integrator_name: open_graph
                    integrator_config:
                        twitter_image_thumbnail: 'socialThumb'
                        types:
                            - ['my_type', 'my_type']
                        properties:
                            - ['twitter:definition', 'twitter:definition']