DOCS BEING UPDATED 3/31/2022 CHECK BACK SOON
- Create a new app on the Facebook Developers site https://developers.facebook.com/
- Click on My Apps, Click the green Create App button.
- Choose Consumer, click Next
- Enter a display name for the app like SHOUTcast Widgets and save.
- In the products section, click the setup button for Instagram Basic Display.
- Next you'll be prompted to update your Application Settings.
- Privacy Policy URL (Must be a valid url, even if not a privacy policy url)
- App Icon
- Business Use
- Category
For the app domains, enter both shoutcastwidgets.com and player.shoutcastwidgets.com
7. Next, go back to the main dashboard for the new app you just created, scroll to the bottom
- ### Instagram Basic Display API
Now it's time to authorize your instagram account.
1. Back to Products > Instagram > Basic Display. Create new App.
[![Instagram App Step 1](https://yizack.com/images/instagram-feed/instagram-app-1.jpg)](https://developers.facebook.com/)
2. Fill OAuth Redirect, Deauthorize Callback and Data Deletion Request URL with your site URL and save changes.
[![Instagram App Step 2](https://yizack.com/images/instagram-feed/instagram-app-2.jpg)](https://developers.facebook.com/)
3. Add Instagram testers.
[![Instagram App Step 3](https://yizack.com/images/instagram-feed/instagram-app-3.jpg)](https://developers.facebook.com/)
4. Enter your Instagram username and select it.
[![Instagram App Step 4](https://yizack.com/images/instagram-feed/instagram-app-4.jpg)](https://developers.facebook.com/)
5. Go to your Instagram account settings page > App and Websites > Tester invites, accept the invite.
[![Instagram App Step 5](https://yizack.com/images/instagram-feed/instagram-app-5.jpg)](https://developers.facebook.com/)
6. Back to Products > Instagram > Basic Display > User Token Generator, you Instagram account should appear, then click Generate Token button for authorize and generate long-lived access token for instagram.
[![Instagram App Step 6](https://yizack.com/images/instagram-feed/instagram-app-6.jpg)](https://developers.facebook.com/)
7. Login and authorize the App.
[![Instagram App Step 7](https://yizack.com/images/instagram-feed/instagram-app-7.jpg)](https://developers.facebook.com/)
8. Copy the generated Token.
[![Instagram App Step 8](https://yizack.com/images/instagram-feed/instagram-app-8.jpg)](https://developers.facebook.com/)
9. Paste your token in `{long-lived-access-token}` for the `$token` variable at `config.php`.