Conversation
supportUsing the latest wordpress, copied and pasted the API key, copy and pasted my Channel ID on youtube, then tried my UserID and then tried just general keyword search just get the API error. All interations of my site on allowed domains. Oh also I regenerated a different key 4 times to see if that worked. each within a hour or more of each other.
Hi @gunplagamer , Just to be sure, please to the following : • be sure to set correctly your API key: in Developer Console > Libraries section, Youtube Data API v3 should be enabled • in order to be sure it doesn’t come from the referers put it temporarily to None (wait for few minutes for the changes to be applied). https://imgur.com/GdM0cM3 If setting the referers to “none” doesn’t do the job (be sure to wait several minutes before testing again), send your API key to enguerrandeep[at]gmail-dot-com (referers should still be set to “none”, so I can test it on my side). Best regards, Enguerran
Sent the API key to you a week ago and have yet to hear back from you.
Hi @gunplagamer , Sorry for the delay, as I’m making / maintaining this plugin on my free time, I can’t answer as quickly as I would. I checked your API key, it’s working fine. As suggested on the original thread : https://wordpress.org/support/topic/there-is-an-error-with-your-api-key-it-has-been-rejected-by-google-api-service/page/3/ , I would recommend to check your host PHP modules (some basic stuff are disabled on some hosts – like Hostgator).
I use GoDaddy. What should I tell them to enable?
Hi @gunplagamer , Can you tell me which PHP version you are using? You can use a plugin like: https://wordpress.org/plugins/wordpress-php-info/ to get this information.
@enguerranws I have 5.3 apparently, I looked on GoDaddy.com
@gunplagamer This is quite old. I would suggest to upgrade at least to 5.6 (just to be sure), or, to follow WP recommandations : To run WordPress we recommend your host supports: PHP version 7.2 or greater MySQL version 5.6 or greater OR MariaDB version 10.0 or greater HTTPS support Note that upgrading PHP can break things on your website. Be sure to make a backup before upgrading PHP (or, at least, write down your current version, so you’ll be able to switch back if needed).
@enguerranws Actually talking with GoDaddy right now. Possibly upgrading to 7.0. Does you plugin work with it? I ran a compatibility check through a plugin and yours says Unknown.
The plugin works fine with PHP 7.0 (I’m testing on it), but I can’t assure you that your whole WP installation will work with it (WP version, theme, other plugins, etc.). What “compatibility check” did you run?
This one https://wordpress.org/plugins/php-compatibility-checker/
@gunplagamer This kind of plugin can’t be 100% efficient. Besides, it uses WP-Cron to scan files. I guess “Unknown” means that the plugin didn’t scan the plugin yet (it does it in the background, and it takes some time).
Ok, yeah it says its too big to scan. but it says the rest of the plugins I use work
Ok, yeah it says its too big to scan. Thanks to Google API PHP Client :/ Well, I guess this issue is solved. This plugin needs PHP 5.6 at least to work. Best regards, Enguerran
ok yep 5.6 is needed. upgraded to 7.1 now. will mark resolved once I am done
Hi @gunplagamer , Just to be sure, please to the following : • be sure to set correctly your API key: in Developer Console > Libraries section, Youtube Data API v3 should be enabled • in order to be sure it doesn’t come from the referers put it temporarily to None (wait for few minutes for the changes to be applied). https://imgur.com/GdM0cM3 If setting the referers to “none” doesn’t do the job (be sure to wait several minutes before testing again), send your API key to enguerrandeep[at]gmail-dot-com (referers should still be set to “none”, so I can test it on my side). Best regards, Enguerran
Sent the API key to you a week ago and have yet to hear back from you.
Hi @gunplagamer , Sorry for the delay, as I’m making / maintaining this plugin on my free time, I can’t answer as quickly as I would. I checked your API key, it’s working fine. As suggested on the original thread : https://wordpress.org/support/topic/there-is-an-error-with-your-api-key-it-has-been-rejected-by-google-api-service/page/3/ , I would recommend to check your host PHP modules (some basic stuff are disabled on some hosts – like Hostgator).
I use GoDaddy. What should I tell them to enable?
Hi @gunplagamer , Can you tell me which PHP version you are using? You can use a plugin like: https://wordpress.org/plugins/wordpress-php-info/ to get this information.
@enguerranws I have 5.3 apparently, I looked on GoDaddy.com
@gunplagamer This is quite old. I would suggest to upgrade at least to 5.6 (just to be sure), or, to follow WP recommandations : To run WordPress we recommend your host supports: PHP version 7.2 or greater MySQL version 5.6 or greater OR MariaDB version 10.0 or greater HTTPS support Note that upgrading PHP can break things on your website. Be sure to make a backup before upgrading PHP (or, at least, write down your current version, so you’ll be able to switch back if needed).
@enguerranws Actually talking with GoDaddy right now. Possibly upgrading to 7.0. Does you plugin work with it? I ran a compatibility check through a plugin and yours says Unknown.
The plugin works fine with PHP 7.0 (I’m testing on it), but I can’t assure you that your whole WP installation will work with it (WP version, theme, other plugins, etc.). What “compatibility check” did you run?
This one https://wordpress.org/plugins/php-compatibility-checker/
@gunplagamer This kind of plugin can’t be 100% efficient. Besides, it uses WP-Cron to scan files. I guess “Unknown” means that the plugin didn’t scan the plugin yet (it does it in the background, and it takes some time).
Ok, yeah it says its too big to scan. but it says the rest of the plugins I use work
Ok, yeah it says its too big to scan. Thanks to Google API PHP Client :/ Well, I guess this issue is solved. This plugin needs PHP 5.6 at least to work. Best regards, Enguerran
ok yep 5.6 is needed. upgraded to 7.1 now. will mark resolved once I am done