README.md

Instascraper

Instacsraper is an R helper function package for using Instagram Scraper

Installation

You can install the released version of instascraper from Github with:

devtools::install_github("mohrosidi/instascraper")
# run this if instagram-scraper is not installed in your system
instascraper_install()

Example

This is a basic example which shows you how to solve a common problem:

library(instascraper)

## get 10 media and media metadata from Cristiano Ronaldo account 
get_media(username = "cristiano", media_type = "image", max = 10)

## get all comment data from IG post in Bandung City
get_comments(location = 100936334818444)

## get user profile information from user following data
get_profiles(following_input = TRUE, your_username = <YOUR ACCOUNT USERNAME>,
            your_password = <YOUR ACCOUNT PASSWORD>)

## get location id using location name
search_location("Bandung")


technaut-education/instascraper documentation built on June 13, 2021, 7:42 a.m.