postaddictme / instagram-php-scraper

Get account information, photos, videos, stories and comments.
https://packagist.org/packages/raiym/instagram-php-scraper
MIT License
3.1k stars 800 forks source link

Replacement for https://www.instagram.com/{username}/?__a=1 #349

Closed pandoratoolbox closed 5 years ago

pandoratoolbox commented 6 years ago

Does anybody have a way to get the bio, media URLs and also the users who like the media?

vitaly-alexandrovich commented 6 years ago

All the necessary information is in the _sharedData variable (javascript) on the page https://www.instagram.com/{username}/ you only need to extract her (use regular expression).

This library (instagram-php-scraper) already knows how to do this (getAccount method)

pandoratoolbox commented 6 years ago

@mr-molodoy Is it possible to get all the likes with 1 request? You can only get 50 likes with this endpoint right? - https://www.instagram.com/graphql/query/?query_id=17864450716183058&variables={"shortcode":"BKtO1RSgK80","first":50,"after":""}

vitaly-alexandrovich commented 6 years ago

Most likely this will not work

pandoratoolbox commented 6 years ago

@mr-molodoy Is there any other way to get a list of likers? Even if it's not only 1 request? Is 50 the max amount?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.