Title: Youtube API Problem
Last modified: December 12, 2019

---

# Youtube API Problem

 *  Resolved [duddy2007](https://wordpress.org/support/users/duddy2007/)
 * (@duddy2007)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/youtube-api-problem/)
 * Dear developers.
    Please remove your YouTube API key from the plugin. It’s in
   your code now. In the file /modules/add-ons/youtube.php var $youtube_developer_key
   = ‘AIzaSyAyye_rE5jYd7VpwvcLNItXQCo5zxvvmfy’; server IP and each Has its own. 
   Make a custom YouTube API key. This is the only correct solution. then everyone
   will be able to use their key in YouTube API otherwise “YouTube API option” does
   not work

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12235465)
 * Hello [@duddy2007](https://wordpress.org/support/users/duddy2007/),
 * I hope you’re doing well!
 * Thank you for your suggestion. I’ve forwarded it to our developers so they could
   have a closer look.
 * We will follow back n this thread once we will have an update!
 * Have a good day and take care!
 * Kind regards,
    Nastia
 *  [dstamos](https://wordpress.org/support/users/dstamos/)
 * (@dstamos)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12239336)
 * I agree that the plugin needs to have an interface to add your own YouTube API
   Key, but until then you can find the plugin’s YouTube API Key and replace it 
   with your own YouTube API key.
 * To find Broken Link Checker’s YouTube API Key, go to the Plugin Editor, then 
   edit the Broken Link Checker plugin, then use the drop down for Modules, then
   use the drop down for Extras and find youtube.php and open it. Around line 20
   you will see
 * var $youtube_developer_key = ‘AIzaSyAyye_rE5jYd7VpwvcLNItXQCo5zxVvMFY’;
 * replace AIzaSyAyye_rE5jYd7VpwvcLNItXQCo5zxVvMFY with your own YouTube API Key.
 *  [Biplav](https://wordpress.org/support/users/bplv/)
 * (@bplv)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12345273)
 * Hi [@duddy2007](https://wordpress.org/support/users/duddy2007/) [@dstamos](https://wordpress.org/support/users/dstamos/)
   
   We apologize for the inconvenience, we are working to fix this asap ( possibly
   on the next update ). The problem is there because the API key has expired and
   we’re adding a new one ( with out any API restrictions ) so you don’t have to
   use your own API key after the update. However, it would be a good idea to provide
   an interface for using personal API key with which users could apply usage restrictions
   and other settings via google’s Youtube API Settings. So, I’ll add this on our
   todo list and have a discussion with the team and possibly decide and ETA on 
   this.
 * Regards.
 *  [technabob](https://wordpress.org/support/users/technabob/)
 * (@technabob)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12372962)
 * So I’ve manually updated this file with my own YouTube API key, but there’s a
   10,000 credit per day limit in this API now, and my site has over 35,000 videos
   in it – which is about 100,000 credits required to query for all of those. That
   said, is there any way to throttle the link checker to gradually check all of
   these over a longer period of time? I need to spread out the link checking over
   about 10 days to check them all.
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12383303)
 * Hi [@technabob](https://wordpress.org/support/users/technabob/)
 * On “Settings -> Link Checker -> Advanced” page there are some options that could
   be tweaked for that:
 * – the “Run continuously white the Dashboard is open” could be disabled keeping
   only “run hourly in the background” enabled – that would limit all checks to 
   short sessions every hours
 * – then “max execution time” could be decreased to some low value like e.g. 30
   seconds
 * – and “server load limit” and “traget resource usage” could also be lowered a
   bit below default avlues.
 * It won’t affect only YouTube links but would “slow down” the checkers all together
   and “spread out” link checking over longer “time window” than it is by default.
 * Best regards,
    Adam
 *  [technabob](https://wordpress.org/support/users/technabob/)
 * (@technabob)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12383362)
 * Thanks for the tips, Adam. I’ll give these a whirl and see if it helps me get
   through all of these links eventually. At this point I’m only concerned with 
   the YouTube embeds, and will probably set up a different pass down the road for
   HTML links.
 *  Thread Starter [duddy2007](https://wordpress.org/support/users/duddy2007/)
 * (@duddy2007)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12403391)
 * you made the wrong decision and got an error message when checking the link (
   YouTube):
 * 403 Exceeded The Daily Limit. The quota will be reset at midnight Pacific time(
   PT).
 * Oh, my God, when will you finally make the right decision?
    Just a custom field
   for your own youtube API? when? it’s so easy to do… It’s been 2 updates since
   I suggested it, but you’re doing it wrong again… Pls, make custom field for own
   youtube API…
 *  [Biplav](https://wordpress.org/support/users/bplv/)
 * (@bplv)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12404374)
 * Hello [@duddy2007](https://wordpress.org/support/users/duddy2007/) ,
 * 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 6 years, 3 months ago by [Biplav](https://wordpress.org/support/users/bplv/).

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Youtube API Problem’ is closed to new replies.

 * ![](https://ps.w.org/broken-link-checker/assets/icon-256x256.png?rev=2900468)
 * [Broken Link Checker](https://wordpress.org/plugins/broken-link-checker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/broken-link-checker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/broken-link-checker/)
 * [Active Topics](https://wordpress.org/support/plugin/broken-link-checker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/broken-link-checker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/broken-link-checker/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [check](https://wordpress.org/support/topic-tag/check/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)
 * [YouTube API key](https://wordpress.org/support/topic-tag/youtube-api-key/)

 * 8 replies
 * 6 participants
 * Last reply from: [Biplav](https://wordpress.org/support/users/bplv/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/youtube-api-problem/#post-12404374)
 * Status: resolved