Description Usage Arguments Examples
This function returns the integer value of a specified type of media
1 | media_type_enum(media_type = c("PHOTO", "VIDEO", "ALBUM"))
|
media_type |
character; one of three types of media |
1 2 3 4 5 | # photo media are mapped to 1
media_type_enum("PHOTO")
# an unknown media type returns NULL
media_type_enum("FAKE_MEDIA_TYPE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.