scottsweb / wp-instagram-widget

❌ A WordPress widget for showing your latest Instagram photos.
115 stars 62 forks source link

Use JSON endpoints #96

Closed scottsweb closed 5 years ago

scottsweb commented 6 years ago

Avoid the need to parse the HTML and use the JSON feeds instead:

https://www.instagram.com/explore/tags/{tag}/?__a=1

Need to discover the one for a username.

preethamvishy commented 6 years ago

The corresponding endpoint for username is: https://www.instagram.com/{username}/?__a=1

However, Instagram has been denying access to this endpoint at times over the last 2 weeks. Great if it works for you, but as a caveat, I'd ask you to refrain from relying too much on this until all these endpoint changes by Instagram calm down.

scottsweb commented 6 years ago

Thanks for the info @preethamvishy