How to setup Instagram API
Our Instagram WPBakery element has three options to get media from your account on Instagram:
- Scrape (Deprecated) – simply scrapes the page on the web and parses all the images. This method is outdated and may be blocked by Instagram now.
- AJAX – similar to the first one but images are parsed on the frontend side. Works for now but probably will not be allowed in the future.
- API – allows you to get images using Instagram API. Most stable and legal method but works with your own account only and requires Instagram APP configuration.
With first two methods, you need to specify your username only to obtain photos.
With Instagram Graph API method you will need to setup and configure your Instagram business account and connect it to Facebook page. This is a new limitation made by Facebook / Instagram and not by the WoodMart theme. This will allow you to display your account photos on your website using our theme. Note that you are not able to display photos from other accounts or photos by hashtags. Here is a step by step instruction for this:
- Follow the tutorial from official Facebook documentation and create an Instagram Business Account https://www.facebook.com/help/502981923235522
- You need to create a Facebook page and connect it to your Instagram account https://www.facebook.com/business/pages/set-up
Check our screenshots to see how to do this
- Go to Theme Settings -> General -> Instagram API and click on “Connect” button. You will be redirected to Facebook where you need to give all permissions and select your Facebook page.
After this, you can use our WPBakery page builder Instagram element and select API method.
Check our screenshots to see how to do this