What Are Networking API's?
Networking APIs allow Monarch to automatically grab follower counts from your social profiles and display them on your website.
This means you never have to update your follower count for the networks supporting it since the plugin continually checks the API and caches the count.
Only certain networks support API calls, and each of them needs to be configured a little differently. Please keep reading for a full list of supported networks and their installation instructions.
Before configuring your API settings, you must ensure that the Get Counts VIA API is enabled within the Networks tab of your Monarch settings panel.
Once enabled, you can begin setting up each account as outlined below.
Twitter uses OAuth for its API, requiring additional authentication before allowing Monarch to access your profile information.
To begin the process, log in to your Twitter.com account and access the Developer Portal. We need to create a Project and an App in the Developer Portal.
Click on the Create Project button.
Give the Project a name.
Click the Next button (bottom right corner).
For the Select a use case choose Exploring the API and click the Next button.
Add a Project Description.
Set a name for the Twitter App - it can be anything you want.
Click the Next button (bottom right corner).
Copy the
API Key
API Key Secret
Bearer Token
Click on the App Settings button
Click on Set Up for the User authentication settings.
Select Read and Write for the App Permissions.
Select Web App, Automated App or Bot for Type of App.
Under App Info, fill in the following settings:
Callback URI / Redirect URL (required):
https://your-domain.com/wp-admin/tools.php?page=et_monarch_options#tab_et_social_tab_content_follow_networks
andhttps://your-domain.com/wp-admin/tools.php?page=et_monarch_options
Website URL (required): is the URL of your website
The rest of the optional settings - those are not required
Click the Save button.
Copy the Client ID and the Client Secret
Click the Done button.
Go to your WordPress Dashboard → Tools → Monarch Settings → Networks.
Add Twitter Network.
Enable the Get Counts via the API option.
For the Consumer Key, paste in the Client ID.
For the Consumer Secret, paste in the Client Secret.
For the Access token, paste in the API key (copied in step 9).
For the Access Token Secret, paste in the API Secret (copied in step 9)
Click Authorize.
Youtube
YouTube uses authorization keys for its API, which requires some additional authentication steps before it allows Monarch to access your subscriber count.
First, input the Full URL of your YouTube channel and the channel's ID into the URL and Name fields.
The channel ID can be found at the end of your channel URL. For example: https://www.youtube.com/channel/UCXe_bBnawh7Xu1qv2847xdQ
where the UCXe_bBnawh7Xu1qv2847xdQ
is the channel ID.
Obtain An API Key
Log in to your YouTube account.
Access the Google Developers Console, where you will create a new Project or Select an existing project.
Click on the + Enable APIS and Services button.
In the list of APIs, search for YouTube Data API v3 and click on YouTube Data API v3.
Click on the Enable button.
From the Left sidebar, click on the Credentials link.
Click on the Show Key link (on the right).
Copy the API Key
Copy and paste the API Key into the YouTube authentication fields within the Social Follow tab of the Monarch control panel.
Click the Authorize button.
Monarch will automatically grab your YouTube share and follower counts.
Pinterest makes it easy to access the API for your account.
Input the URL to your Pinterest profile page into the Pinterest URL field in the Networks tab of your Monarch settings panel.
Monarch will now grab your follower counts automatically.
Facebook uses OAuth for its API, which requires additional authentication steps before allowing Monarch to access, share and follow information.
Open Monarch’s control panel
Go to the Social Follow Networks tab.
Enable Facebook by clicking Add Networks.
In the second field (from the left), input your Facebook Page’s complete URL.
In the third field, input only your Facebook Page’s name.
For more information on setting up a name for your Facebook Page, see this article in Facebook’s Help Center.
Note: Page URLs will typically have the following format: http://facebook.com/your-page-name
Obtain an App ID & Secret for Monarch,
For the complete guide on how to obtain all the credentials required for Authorizing Facebook, please check this complete guide.
Note: As of March 2018, all new apps created have the Enforce HTTPS option enabled by default and cannot be turned off. More information about this can be found here.
For the complete guide on how to obtain all the credentials required for Authorizing Instagram, please check this complete guide.
LinkedIn uses OAuth for its API, which requires some additional authentication steps before it allows Monarch to access your company profile information.
Access the secure developer tools. After you click the URL, you will be asked to log in to access the API tools.
Click the Add New Application button to get started. You will be taken to a new page where you will need to fill in the following fields as shown here:
Applicate Name - This can be whatever you like.
Description - This can be whatever you like.
Website URL - Input the full URL to your website (for example,
http://www.yourwebsite.com
).Live Status - Set to "Live."
Default Scope -
r_basicprofile
(only have this selected)OAuth 2.0 Redirect URL - This setting requires a particular URL to identify your app.
Go to WordPress Dashboard → Tools → Monarch Settings → Social Follow → Networks, and then copy and paste the URL from your address bar.Delete everything after the
#
character within the URL:http://www.yourwebsite.com/wp-admin/tools.php?page=et_monarch_options#tab_et_social_tab_content_follow_networks
Will become thishttp://www.yourwebsite.com/wp-admin/tools.php?page=et_monarch_options
OAuth 1.0 Accept Redirect URL - Input the URL used in the field above.
Click the Add Application button to complete the process. This will bring you to a success page with some information you will need to input into the LinkedIn API fields within the Networks tab of the Monarch settings page in your WordPress Dashboard.
Copy and paste the API Key and the Secret Key into the required fields
Click the Authorize button to complete the process.
Monarch will now be able to grab your company's follower counts automatically from LinkedIn.
Dribbble
Before Dribbble will give Monarch your follower count, you must register an application and receive an access token.
Log in to Dribbble.com
Access the Register Application page. Here, you will need to fill in the following fields:
Name - This can be anything you like.
Description - This can be anything you like.
Website URL - Input the full URL to your website (for example,
http://www.yourwebsite.com
).Callback URL - Input the full URL to your website (for example,
http://www.yourwebsite.com
).
Click the Register Application button. You will be taken to a new page with three pieces of information.
Copy and paste the Acess Token into the Dribbble Access Token field within the Networks Tab of your Monarch settings page.
Monarch will now grab your follower counts automatically.
Vimeo
Vimeo uses OAuth for its API, requiring additional authentication steps before allowing Monarch to access your profile information.
Log in to your account and then access the Vimeo API Tools to get started.
Click the Create A New App button, and then fill in the required fields as outlined below:
App Name - This can be anything you want. It's just something to remember it by.
App Description - This can be anything you want as well.
App URL - Input the full URL to your website (for example,
http://www.yourwebsite.com
)Callback URI - This setting requires a specific URL to identify your app. The URL that must be pasted here is the URL that leads directly to the Social Follow Networks tab in the Monarch settings inside your WordPress Dashboard.
Go to your WordPress Dashboard → Tools → Monarch Settings → Social Follow → Networks, and then copy and paste the URL from your address bar. It will look something like this:http://www.yourwebsite.com/wp-admin/tools.php?page=et_monarch_options#tab_et_social_tab_content_follow_networks
Click the Create App button to return to the developer tools home page.
Click the Authentication tab to give you information about your new app. You must copy and paste the Client Identifier and the Client Secret into the Vimeo authentication fields within the Network tab of the Monarch settings panel.
Click the Authorize button.
Monarch will automatically grab your Vimeo follower counts.
Soundcloud
Soundcloud requires two pieces of information to grab your follower counts via their API:
Name
Client ID.
To access these details, you must first register an app within your Soundcloud account, log into your Soundcloud.com account, and then access the Soundcloud Apps Page to get started.
Click the Register A New Application button to begin the app creation process.
Next, you will be asked to fill in the following information:
Name - This can be anything you like
Website of your app - Input the full URL to your website, such as
http://www.yourwebsite.com
Redirect URL - This setting requires a specific URL to identify your app. The URL that must be pasted here is the URL that leads directly to the Social Follow Networks tab in the Monarch settings. Inside your WordPress Dashboard. To get this URL, log in to your
Go to WordPress Dashboard → Tools → Monarch Settings → Social Follow → Networks, and then copy and paste the URL from your address bar. It will look something like this:http://www.yourwebsite.com/wp-admin/tools.php?page=et_monarch_options#tab_et_social_tab_content_follow_networks
Click the Save App button.
Copy and paste the Client ID (listed on the app page you are currently on) and your SoundCloud Username into the SoundCloud API settings within the Networks tab of your Monarch settings panel.
Monarch will now grab your follower counts automatically.
Github
GitHub makes it easy to grab your follower counts. All you need to do is input your Github username into the Github Name field within the Networks tab of your Monarch settings panel.
VK
Before you can configure VK, you first need to find your User ID, which is different from the VK username you use when logging in.
Log in to VK
Go to the Account Settings page.
Scroll down and look for the Your Profile ID section
Copy and Paste your Profile ID into the User ID field within the VK API settings inside the Network tab of your Monarch settings panel.