Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$instagram->getAccount() no longer working #1117

Open
jhob101 opened this issue Feb 16, 2023 · 2 comments
Open

$instagram->getAccount() no longer working #1117

jhob101 opened this issue Feb 16, 2023 · 2 comments

Comments

@jhob101
Copy link

jhob101 commented Feb 16, 2023

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.

@instasck
Copy link

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.

@skmachine
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants