Instagram API Settings
You can connect Instagram with the Website. It will show the Instagram images of the account on the Website, have to do some setting from the admin area in ( Settings > PGS InstaWP )
You have to add the ‘Redirection URL’ with the ‘Instagram App ID’ and generate ‘Access Token’ for Instagram.
Follow the below instructions to create a Facebook app and get Instagram App ID and Instagram App Secret.
Follow the below video to create a Facebook app and get Instagram App ID and Instagram App Secret.
To get a long-lived Instagram Token, Facebook wants now to create a Facebook app. Please note that a Facebook account (verified with developer access enabled) and an Instagram account (with media) is required to create a Facebook app. Please refer to the below link for more information.
Instagram Basic Display API: Long-Lived Access Tokens now available
How do I verify my developer account on Facebook?
Once you have connected the instagram with website you can manage the settings regarding the images. here are the list of options.
- Image Count : Enter number of images to fetch from Instagram API.
- Image Fetch Duration : Select interval of hours to fetch images from Instagram.
- Get other size images : The current Instagram API does not provide small and medium-sized images. If you want to get these size images select this option. Choosing this option will increase the code execution time to get images from Instagram and process other size images. So, make sure your system is configured to handle the long executing processes. If the system isn’t configured properly, the image fetching process may break.
- Refresh Image Manually : It will get the latest data at that particular time.
Now you can use this data ( Instagram images ) to display using the Shortcode or the widget