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.
Open the Facebook Page's settings.
Use the Instagram Tab to link the Professional Instagram account to the Facebook Page:
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.
Back to the WordPress Dashboard, go to Tools > Monarch Settings > Networks.
Add a new Network and Choose Instagram.
In the second field, enter the full Instagram Profile URL:
Settings make sure the Get counts via API option is enabled for the Display.
Next, click on General Settings:
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.
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.
Check the Use Instagram API option.
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
.Click on Authorize Button
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:
In the next step, choose the Facebook Page linked to the Instagram account.
Finally, enable all the permissions (those should be enabled by default):
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: