InstaFollowers is an ESP8266/ESP32 module designed for easily get Instagram Followers / Following count number.
FREE account allows only for 500 requests/month.
- Arduino Library Manager (Recommended)
- Download or clone this repository into your arduino libraries directory
- To make this libraty working, you need to create an account on https://rapidapi.com/,
then search for instagram scraper api https://rapidapi.com/social-api1-instagram/api/instagram-scraper-api2 and press Subscribe for Basic
Coppy x-rapidapi-host, and x-rapidapi-key
-
Connect to Wi-Fi
-
Include InstaFollowers module
#include <InstaFollowers.h>
-
Create a InstaFollowers object with rapidapi-host and rapidapi-key
InstaFollowers instaStats("instagram-scraper-api2.p.rapidapi.com", "RAPID_API_KEY");
-
Now you can get Followers number given username:
int FollowersCount= instaStats.GetUserFollowersCount("arduino.cc"); Serial.print("Follower count:"+String(FollowersCount));