Description Usage Arguments Details Value Examples
A convenience function for getting recommended dimensions for images on social media sites.
1 | social_media_size(platform = c("twitter", "instagram"), type = "default")
|
platform |
currently only "twitter" |
type |
which type of image |
Twitter:
link: Image from a Tweet with shared link one: Tweet sharing a single image (default) two: Tweet sharing two images three_left: Tweet sharing three images, Left image three_tight Tweet sharing three images, Right images four: Tweet sharing four images
Instagram:
feed_large: (default) feed_small: stories_large: stories_small:
named vector of width and height in pixels
1 2 3 | social_media_size("twitter", "link")
social_media_size("twitter", "one")
social_media_size("twitter", "two")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.