A simple utility to get the raw image URL from an Instagram post
PHP CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
includes
.gitignore
CHANGELOG.md
LICENSE
README.md
index.php

README.md

Instagram Photo URL

A simple utility to get the raw image URL from an Instagram post

Contributors

About

Pass an Instagram post URL and retrieve the raw image URL from Instagram's CDN. Intended to replace having to screenshot things you want to share or save. An example can be viewed here

Current Actions

  • Displays a simple form to enter the Instagram URL and processes via a POST request.
  • Allows for passing two query strings: image-url and image-id for processing via a GET request.

Examples

  • Passing the image URL: https://example.com/?image-url=https://www.instagram.com/p/someImageID/
  • Passing the image ID: https://example.com/?image-id=someImageID
  • Browser bookmarklet: javascript:(function(){window.open('https://example.com/?image-url='+window.location.protocol+'//'+window.location.host+window.location.pathname);})();

Changelog

See CHANGELOG.md.

Notes

This only works on public Instagram accounts.

Pull requests are very much welcome and encouraged.