1.) Go to https://www.instagram.com/developer/ and click “Register Application”
2.) Click “Register a New Client” button
3.) At the details tab, fill the Application Name / Website URL / Valid redirect URIs and Contact email
4.) On security tab, deselect the “Disable implicit OAuth” option and click register
5.) Open this link after you replace the “CLIENT_ID” and “REDIRECT_URL” with the one you registered and click “Authorize” button
https://api.instagram.com/oauth/authorize/?client_id=CLIENT_ID&redirect_uri=REDIRECT_URL&response_type=token&scope=public_content
6.) After clicking the authorize button, your browser will be redirect to the url with an access token.
http://localhost/xampp/splash.php#access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Copy your access token out to be used in the instagram widget ( or any other places ).
———————————————————————————————