instagram-php-scraper
instagram-php-scraper copied to clipboard
getAccount() and getPaginateMedias() doesn't work anymore.
getAccount() and getPaginateMedias() doesn't work anymore. Need fix.
Same thing here, cant fetch accounts or media.
I changed the user-agent at src/InstagramScraper/Instagram.php:56
to private $userAgent = 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/603.1.23 (KHTML, like Gecko) Version/10.0 Mobile/14E5239e Safari/602.1';
and it worked again.
This did not work for me. I think Instagram used a cookie to block requests. https://www.instagram.com/kevin/?a=1 This request shows the following error in Chrome and Firefox browsers for (;;); {" ar": 1, "error": 1357004, "errorSummary": "Sorry, something went wrong", "errorDescription": "Please try closing and re-opening your browser window.", " payload ": null," hsrp ": {" hblp ": {" consistency ": {" rev ": 1005620371}}}," lid ":" 7104639836351252026 "} but it works for two times in edge browser
Does anyone have a safe way to get posts on public Instagram pages?
I'm having the same problem.
[message:protected] => Response code is 200: OK.Something went wrong. Please report issue.
[string:Exception:private] =>
[code:protected] => 200
[file:protected] => /vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php
[line:protected] => 744
Looks like the _sharedData object is not available anymore :/
what will all crawlers do? :'(
same issue here
Looks like the _sharedData object is not available anymore :/
I agree too
Same Issue :cry: I login with basic credentials and I tested some function :
- searchAccountsByUsername -> works
- getAccount -> doesn't work
- getAccountById -> doesn't work
- getMedias -> doesn't work
- getAccountInfo -> doesn't work
Anyone has any idea whats the bug ?
Regards
Same issue, browser private apis not working now.
Same Issue 😢 I login with basic credentials and I tested some function :
* searchAccountsByUsername -> works * getAccount -> doesn't work * getAccountById -> doesn't work * getMedias -> doesn't work * getAccountInfo -> doesn't work
Anyone has any idea whats the bug ?
Regards
Instagram changed their frontend and got rid of everything that we need to make this work.
This repo (which is python) appears to have it working, with the mods listed in this issue/comment: https://github.com/arc298/instagram-scraper/issues/805#issuecomment-1147981554
I was able to do a scrape via the command line with this updated tool. (Although my IP got rate-limited by Instagram fairly quickly)
I assume it's just going to take some time for all the different scrapers out there to adapt to the updated Instagram UI.
Yes, the _sharedData
object has gone and getAccount()
stopped working.
is there a solution for this without using python?
Didn't find any solution to the problem?
There is no solution afaik. This package has to be archived or rewrite entirely
@rikless any other working library that you can recommend please ?
no :/
@rikless any other working library that you can recommend please ?
I use https://github.com/pgrimaud/instagram-user-feed and it works for retrieving posts.
I use https://github.com/pgrimaud/instagram-user-feed and it works for retrieving posts.
Well, i came here from this one because its stop working for me ;/
@rikless any other working library that you can recommend please ?
I use https://github.com/pgrimaud/instagram-user-feed and it works for retrieving posts.
Thanks, it works like a charm !
https://github.com/postaddictme/instagram-php-scraper/pull/1086
the APIs https://rapidapi.com/neotank/api/instagram130/ still works fine.. weird