Youtube

Setting up Google+.

Create a new project.

Before we move to the options we need to create a project. Make sure you are logged in to Google. Follow the below steps:

  1. Log in to Google and visit this link: https://console.developers.google.com/.
  2. Now you should see the below screen. From the menu select 'Create a project'.

  3. Click 'Create' button.

  4. If not already on the new project dashboard, select the newly created project from the menu.

  5. Once on the project dashboard, click 'Enable and manage APIs' as shown below.

  6. On the API's page, click and enable 'Youtube Data API'. 

  7. Now click 'Credentials' on the left sidebar.

  8. After that, click 'Add credentials' button and select 'API key'. If you already see an API key listed you can use that and directly move to 'Configure the options'.

  9. Then select 'Browser Key'.

  10. Now click the 'Create' button.

  11. At last, you now have an API key. Copy it!

Configure the options

Go to 'Dashboard' > 'Buttons X' > 'Settings' and click on 'Social Counters' then open the 'Youtube' tab. The following options need to be configured to display Youtube subscribers count.

  1. Youtube API Key
    Insert the key you copied / noted previously.
  2. Youtube ID Type
    Select whether you want to display subscribers for a channel or user.
  3. Youtube Channel/User ID
    Your Youtube User ID is generally text based. You can get the ID through your profile page URL.
    1. Through Page URL
      1. Check the image below on how to extract page ID from URL. The text highlighted in the image below is an example of USER ID. For ex: if your page URL is 'https://www.youtube.com/user/marquesbrownlee/' then your user ID is 'marquesbrownlee'.
      2. Channel ID is generally numeric.
  4. That's it! Now save the settings.