getCommentsByMediaCode: Get Comments By Media Code

Description Usage Arguments Value Examples

View source: R/getCommentsByMediaCode.R

Description

Gets the first n comments for a media with a given Instagram shortcode

Usage

1
getCommentsByMediaCode(code, n = 10, maxID = "", ...)

Arguments

code

An Instagram shortcode for a media post

n

The number of comments to return

maxID

An identifier for a comment that indicates where to start searching

...

Additional options passed to a shinyAppDir

Value

n x 6 dataframe - id, text, created_at, owner.id, owner.profile_pic_url, owner.username

Examples

1
## Not run:  getCommentsByMediaCode("W0IL2cujb3", 100)

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