getMediaByUsername: Get Media By Username

Description Usage Arguments Value Examples

View source: R/getMediaByUsername.R

Description

Gets the n most recent posts from a user with the given username

Usage

1
getMediaByUsername(username, n = 12, maxID = "", ...)

Arguments

username

An Instagram account's username

n

The number of media posts to return

maxID

Identifier to specify query location

...

Additional options passed to a shinyAppDir

Value

n x 17 dataframe of media information: _typename, id,
comments_disabled, geting_info, media_preview, thumbnail_src,
thumbnail_resources, is_video, code, date, display_src, caption,
dimensions.height, dimensions.width, owner.id, comments.count, likes.count

Examples

1
## Not run:  getMediaByUsername("officialrickastley", 50)

AFIT-R/instaExtract documentation built on May 18, 2019, 8:11 p.m.