headR::add_twitter_card(card_type = "summary_large_image", title = "Bees are cool", description = "There are nearly 20,000 known species of bees in seven recognized biological families.", image = "https://www.jumpingrivers.com/rpackages/headr/vignettes/bee.jpeg", file = "bees.html")
There are nearly 20,000 known species of bees in seven recognized biological families. They are found on every continent except Antarctica, in every habitat on the planet that contains insect-pollinated flowering plants.
The code to produce html file containing the meta tags in the header is below. To go back to the headR GitHub page.
headR::add_twitter_card(card_type = "summary_large_image", title = "Bees are cool", description = "There are nearly 20,000 known species of bees in seven recognized biological families.", image = "https://www.jumpingrivers.com/rpackages/headr/vignettes/bee.jpeg", file = "bees.html")
To change this to a normal sized summary card, simply change summary_large_image
to summary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.