How to get general Instagram information without using the Graph API

I am having the same issue. I also replaced all the ’ and " like you did. Not sure what the issue is. I also fixed the indentation and added the “< / script >” after [1].split like you added @klaas.vanhoeck1 , but it didn’t work

My code is below:
let url = “https://www.instagram.com/input instagram’s value”;
$.ajax({
type: ‘GET’,
url: url,
error: function () {
//…
},
success: function (data) {
data =
JSON.parse(data.split(“window._sharedData = “)[1].split(”;”)[0]).entry_data.ProfilePage[0].graphql;
console.log(data.user);
bubble_fn_insta(data.user.edge_followed_by.count);
}
})

Hi, did you resolve that issue? I have the same problem, and I do not know how to fix it.
Thanks!

Hi @klaas.vanhoeck1 @sergio.evermain @kevin16 @getannouncr

Would you mind taking a quick look at the below js and setup to scrape the follower count from Instagram? I also replaced all the " and ’ without success.

Thanks!
Jason



It seems Instagram blocked this way of working. a real bummer…

1 Like

Hey @klaas.vanhoeck1,
Thanks for this guide! Did you found a workaround for this issue?