Open jhob101 opened 1 year ago
Is there a more proper way to do that I mean usinbg the 'https://www.instagram.com/{username}' and get data from it instead of 'https://www.instagram.com/{}/?__a=1&__d=dis'
direct call with parameters might cause blocks.
Is there a more proper way to do that I mean usinbg the 'https://www.instagram.com/{username}' and get data from it instead of 'https://www.instagram.com/{}/?a=1&d=dis'
direct call with parameters might cause blocks.
Thanks - I will give it another try , any recommendations for best use ?
If you just need to retrieve public IG profile info , and last 12 posts, check https://github.com/skmachine/instagram-php-scraper - it does not require your IG auth details and uses cloud proxies to access public data (requires subscription). Note that this new package won't help if you need to extract followers or emails (as these endpoints require authentication).
Data returned from
$instagram->getAccount()
is no longer of the expected format.Use
$instagram->getAccountInfo()
instead and it seems to work as it did before.