Accessing the user's instagram token

Creating access token for interacting with Instagram API

ig_token()

ig_create_token(client_id, client_secret, scope = "basic public_content")

Arguments

client_id

Client key.

client_secret

Client secret.

scope

Desired scope, defaults to basic and public.

Value

The user's access token, if available.

Sets environment variable and invisibly returns access token.