Log into Instagram via a Pop-Up window
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE Initial commit Aug 11, 2014
index.php Initial Aug 11, 2014


Instagram Popup Login

Log into Instagram via a Pop-Up window with Javascript. After authentication you receive the acccess token, that can be used to make API endpoint calls.

You can view a demo here.


  1. Download index.php and instagram_auth.php.
  2. Get a Client ID.
  3. Keep "Disable implicit OAuth" and "Enforce signed header" disabled.
  4. Copy Client ID and OAuth redirect_uri.
  5. Paste both values in the authenticateInstagram() function:
	'your_client_id', //instagram client ID
	'your_redirect_uri', //instagram redirect URI
	login_callback //optional - a callback function

Live Usage

I am using this method in my Fancy Product Designer plugin to load users feed and recent images.