Skip to contents

Get identifiers of all media published on a profile

Usage

cc_get_instagram_media_id(
  ig_user_id = NULL,
  api_version = "v19.0",
  token = NULL,
  max_pages = NULL,
  cache = TRUE
)

Arguments

ig_user_id

Instagram user id, typically composed of 17 digits. Not to be confused with legacy Instragram account id.

api_version

Defaults to "v18.0".

max_pages

Defaults to NULL. If not given, it retrieves the number of media and calculates max number of pages needed. Hard-coded max number of pages at 1000.

Value

A tibble with one column named `ig_media_id` with identifiers of Instagram media.