powered by
This function returns the integer value of a specified type of media
media_type_enum(media_type = c("PHOTO", "VIDEO", "ALBUM"))
character; one of three types of media PHOTO, VIDEO, or ALBUM.
PHOTO
VIDEO
ALBUM
# NOT RUN { # photo media are mapped to 1 media_type_enum("PHOTO") # an unknown media type returns NULL media_type_enum("FAKE_MEDIA_TYPE") # }
Run the code above in your browser using DataLab