this article was originally published by oceanwp.
demo key to copy and paste for testing is: IGQVJVZA1d4V3VmZA0lwV1czSUFHaWgydDUwSXEyaEdkYnpCZA3Azai1rdTNwMWRQajBSMFI1RU1HWWdNYnNKOTR1RGZAQRmQxVlFwUEQyZAW1Kc0F0ZAnNoVjlDOE1CTndjbGtRVU5iRnkyQTk0TTI3VDNtUQZDZD
Before getting your Access Token you need to "create an app" on Facebook for Developers.
Facebook for Developers is an independent service. You can use your existing or you can register a new account which you will confirm using the verification code Facebook will send to your mobile phone.
Clicking the Create App button will trigger a modal window where you will need to specify what exactly should your app do.
First select More Options.
Then choose Something Else in order to register an app with a custom permissions set.
Adding an app will open a pop-up window where you need to insert:
Note: You may be prompted to go through a "I'm not a robot" and reCaptcha security check.
After you have successfully added a new app, you will be redirected to a new page where you need to configure Instagram Basic Display and also add a tester in order to generate your Access Token.
Note, you will see two different Instagram options. Choose Instagram Basic Display.
You will be redirected to Basic Display section automatically, but in case you wonder off go back to this section.
This name will be displayed automatically so do not change it.
This is the part where you need to add an Instagram Tester (test user) in order to generate an Access Token.
After creating an app you will be automatically redirected to this section.
Note, there are two tester options, so make sure to add a tester to the Instagram Tester section.
When you add the IG username to the field, a dropdown menu with suggested IG users will appear so as to make sure you have entered correct details.
Log into your Instagram account here.
Note, you may need to re-login to the Instagram account again in order to allow specific permissions before the token is being generated.
The last step is, go to the Instagram tab of your dashboard and copy the Access Token to the input box provided. Then you are ready to display your Instagram Feed on your website!