This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* In order to enable this script, follow these steps: | |
*** Open the Google Sheet you want to use, | |
** From the Tools menu select "Script Editor" | |
* Paste this script into code editor and hit Save. | |
* | |
*** Then click: | |
** "Publish" & select "Deploy as web app... | |
*** Select: | |
** Execute the app as: Me ([email protected]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Thank you to @juliendev for his script (updated here with minor cosmetic changes) | |
// https://gist.github.com/JulienDev/df5a3b66e899c224fa1b2dc90acfa2ae | |
// Your sheet name in the document | |
var sheetName = "Sheet1"; | |
// Your instagram user id | |
var user_id = ""; //find your id here : https://codeofaninja.com/tools/find-instagram-user-id | |
var instagram_base_url = "https://www.instagram.com/graphql/query/"; | |
var following = "?query_hash=58712303d941c6855d4e888c5f0cd22f&variables=%7B%22id%22%3A%22" + user_id + "%22%2C%22first%22%3A24%7D" |