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 not working #98

Closed
ahmadnassri opened this issue Jun 26, 2020 · 6 comments · Fixed by #117
Closed

Instagram not working #98

ahmadnassri opened this issue Jun 26, 2020 · 6 comments · Fixed by #117
Labels
help wanted Extra attention is needed

Comments

@ahmadnassri
Copy link

ahmadnassri commented Jun 26, 2020

possibly being blocked on now.sh instance

@ahmadnassri
Copy link
Author

FYI, I recently learned about adding /?__a=1 to instagram URLs returns the _sharedData object as JSON ... that might help, and potentially bypass the block ... though I have not tested this myself in a hosted environment (local IPs are not blocked)

@ZTF666
Copy link

ZTF666 commented Jul 2, 2020

/?__a=1

yeah i tried that too and it works , it gives access to the "profile_pic_url_hd" which can be returned and displayed as the result to fix the issue

@aslafy-z
Copy link
Contributor

aslafy-z commented Dec 7, 2020

This should be re-opened @Kikobeats, sorry for that.

@Kikobeats Kikobeats reopened this Dec 7, 2020
@Kikobeats
Copy link
Member

Essentially this is failing based on the same Twitter issue, see #121

@Kikobeats Kikobeats added the help wanted Extra attention is needed label Dec 18, 2020
@Gummibeer
Copy link
Contributor

Instagram has blocked all profile pages for unauthenticated requests.
So even HTML scraping wouldn't work as you are redirected to /login.

@Kikobeats
Copy link
Member

Now the Instagram implementation is using Microlink service for getting the Instagram markup (residential proxy + prerendering under the hood).

Unfortunately, since those actions represent a cost, you need to supply your Microlink Pro plan API key.

Details at https://unavatar.io/#instagram

I know this is not an ideal solution, but these days there is no way to get an Instagram avatar at scale with no cost, so at least people interested in this can get it without the pain of handle the infrastructure stuff on your side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants