This is the summary of the work I did for the Automotive Grade Linux (AGL) under Linux Foundation organization as a part of Google Summer of Code 2022.
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
javascript: var InstaUser = window.location.href.split('instagram.com')[1].split('/')[1]; | |
var followersCount, followingCount; | |
getFollowCount(InstaUser); | |
function getFollowCount(user) { | |
url = 'https://www.instagram.com/' + user + '/?__a=1'; | |
var xmlhttp = new XMLHttpRequest(); | |
xmlhttp.onreadystatechange = function() { | |
if (this.readyState == 4 && this.status == 200) { | |
var getJSON = JSON.parse(this.responseText); |
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
// Gist by acesmndr@gmail.com Rev 2.1.2 May 15, 2019 | |
// go to your insta profile page (not the home page). It looks something like this: https://instagram.com/YOUR_PROFILE | |
// Open javascript console "Ctrl + Shift + i" in Windows/Linux and "Cmd + option + i" in Mac. | |
// Paste the entire code below to the console and hit enter | |
// You will get the list of people whom you follow but who don't follow you back and viceversa as well as the entire list of followers and following | |
var following = [], | |
followers = [], | |
followersCount = 0, | |
followingCount = 0, |