Comments (6)
This should be re-opened @Kikobeats, sorry for that.
from unavatar.
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)
from unavatar.
/?__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
from unavatar.
Essentially this is failing based on the same Twitter issue, see #121
from unavatar.
Instagram has blocked all profile pages for unauthenticated requests.
So even HTML scraping wouldn't work as you are redirected to /login
.
from unavatar.
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.
from unavatar.
Related Issues (20)
- Some domain avatars no longer rendering HOT 17
- Any plans to support crypto wallets? HOT 2
- Upgrade to `helmet` 5.0.0 has caused CORS issues HOT 6
- Use fallback avatar in case fallback URL is not reachable HOT 3
- Add `meetup` provider HOT 1
- All providers return the default avatar HOT 5
- add `providers` query parameters
- Add `discord` provider
- revamp website
- Add `tiktok` provider
- Add `readcv` provider
- Looking up by email return default tiktok image HOT 3
- Implement a banner art fetching option HOT 1
- Whats the default source for username query HOT 2
- gravatar avatar not updating HOT 9
- tiktok default image in 404 case HOT 1
- live service seems down? HOT 2
- Add Twitch provider HOT 1
- Images not loading - 524 error. HOT 8
- Instagram profile picture does not work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unavatar.