A convenience function for getting recommended dimensions for images on social media sites.
Usage
social_media_size(platform = c("twitter", "instagram"), type = "default")
Arguments
platform
currently only "twitter"
type
which type of image
Value
named vector of width and height in pixels
Details
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