Learn R Programming

instaR (version 0.2.4)

getPopular: Returns 24 popular instagram posts information

Description

getPopular retrieves up to 24 popular instagram posts

Usage

getPopular(token, verbose = TRUE)

Arguments

token
An OAuth token created with instaOAuth.
verbose
If TRUE (default), outputs details about progress of function on the console.

Details

IMPORTANT: After June 1st, 2016 only applications that have passed permission review by Instagram will be allowed to access data for users other than the authenticated user. See https://www.instagram.com/developer/review/ for more information.

Examples

Run this code
## Not run: 
# ## See examples for instaOAuth to know how token was created.
# ## Downloading list of popular instagram posts
#  load("my_oauth")
#  popular_posts <- getPopular(token=my_oauth )
# ## End(Not run)

Run the code above in your browser using DataLab