Support » Plugin: Broken Link Checker » Error in Youtube

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Nastia – WPMU DEV Support


    Hello @softfully

    I trust you’re doing well!

    This is an already reported issue and our developers know about it. It is happening because the Youtube API is expired. Please follow instructions from this topic to create a new API and add it to the plugin’s code:

    As @mackaaij mentions:

    1. Create your own YouTube API Key:
    2. Edit /wp-content/plugins/broken-link-checker/modules/extras/youtube.php
    3. Add your own YouTube API key as var $youtube_developer_key = ‘…’;

    This should stop showing Youtube links with 400.

    Kind regards,

    Yes, I understand, but I am not a youtubed uploader. I just publish youtube videos from others…

    Plugin Support Jorge – WPMU DEV Support


    Hi @softfully thank you for your reply.

    To run the steps mentioned by my colleague you don’t need to be a Youtuber, the issue is actually with the keys included in the plugin which are over the limits so you need to create a custom with your gmail account and add it.

    Our developers are working to find a solution for this but at the moment you will need to apply the workaround mentioned.

    Hope this information helps, let us know if you have any further questions.


    This is not resolved, and until it is fixed, possibly with an entry field for the api so that the changes we apply do not disappear with an update and so that those that do not want to edit the plugin itself or do not know how to safely can actually get a fix, it should not be marked as resolved just to look like you have a better resolution percentage.

    Plugin Author Biplav


    Hello @7thcircle ,
    You are right about the update overriding your custom changes so on this update we’ve provided a filter with which you can use your own API key for Youtube. Here’s how you can implement it.

    You can add this code on a child theme’s function.php or on a custom plugin, that way your API key won’t be overridden on the updates.

    add_filter( 'blc_youtube_api_key', function( $api_key ) {
    	$api_key = 'enter_your_api_key_here';
    	return $api_key;
    } );
    • This reply was modified 1 month, 3 weeks ago by Biplav.
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.