All Collections
Monarch Plugin Documentation
How To Setup Monarch's Instagram API
How To Setup Monarch's Instagram API
Here you can learn how to integrate Instagram API to Monarch plugin to show your follower count
Cristi avatar
Written by Cristi
Updated over a week ago

To be able to display the total numbers of Instagram Followers using the API Integration, there are a few things that have to be set up in advance:

  • you need to have a Facebook Page - which is different than the Personal Profile

  • an Instagram Professional Account - the latest Facebook API will not work with a personal Instagram account

  • link the Instagram account to the Facebook Page

Link Professional Instagram Account to a Facebook page

Once the Facebook Page and Professional Account are created, we need to link them together.

  1. Open the Facebook Page's settings.

  2. Use the Instagram Tab to link the Professional Instagram account to the Facebook Page:

  3. Follow on-screen steps to complete the process. Once everything is done, you should see the Instagram account linked to your page. Check out this example video on connecting a Professional Instagram account to a Facebook. Page:

Create a Facebook App

Follow all the steps from the How to create a Facebook App help article before continuing.

Setting up Monarch to use Facebook API.

To display the total Followers a Professional Instagram has, we need to use the Facebook App ID and App Secret. Please refer to How to create a Facebook App article to get the Facebook App ID and App Secret.

  1. Back to the WordPress Dashboard, go to Tools > Monarch Settings > Networks.

  2. Add a new Network and Choose Instagram.

  3. In the second field, enter the full Instagram Profile URL:

  4. Settings make sure the Get counts via API option is enabled for the Display.

  5. Next, click on General Settings:

  6. The Frequency of count updates (in hours) could be left as 3 (default options). That option sets how often Monarch will use the Facebook and Instagram API to check the number of Followers the Facebook Page and the Instagram account have.

  7. Add the Facebook App ID and App secret - please refer to How to create a Facebook App article to get the Facebook App ID and App Secret.

  8. Check the Use Instagram API option.

  9. Facebook Page ID is the Facebook page for which Monarch will be displaying the total number of Followers and which was also linked to the Instagram account. To get the Facebook page Id, browser the page on Facebook and copy the ID from the URL:

    In this example, the page ID is wpninja.net.

  10. Click on Authorize Button

  11. In the next step, choose what Instagram account should be used by checking the checkbox corresponding to the Instagram account that needs to be used:

  12. In the next step, choose the Facebook Page linked to the Instagram account.

  13. Finally, enable all the permissions (those should be enabled by default):

  14. Click on Save.

If everything were set up correctly, you would get redirected to the Monarch Setting page.

You can use the Monarch Follow Widget to display the followers' numbers on the Front end.

Examples:

Did this answer your question?