Title: New API Key Doesn&#039;t Work
Last modified: August 20, 2016

---

# New API Key Doesn't Work

 *  [rqdavis](https://wordpress.org/support/users/rqdavis/)
 * (@rqdavis)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/)
 * I applied for and received a new API Key, deactivated and reactivated the plugin,
   and entered the new key, but I receive this message:
 * Invalid Key (my key here) for WorldWeatherOnline! System: WP:3.5.1 – weaver-ii-
   pro-3 – PHP:5.3.15 MYSQL:5.1.68-log – Apple Safari 5.1.8 on mac
 * [http://wordpress.org/extend/plugins/weather-and-weather-forecast-widget/](http://wordpress.org/extend/plugins/weather-and-weather-forecast-widget/)

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

 *  [Marteens](https://wordpress.org/support/users/marteens/)
 * (@marteens)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602030)
 * Hi!
 * Did you ever get this to work?
 * I got the same problem. I tried to follow [these instructions](https://www.facebook.com/notes/world-weather-online/introducing-faster-more-efficient-and-even-more-reliable-services/451128854963809),
   but I couldn’t get it to work. I think my problem is in step 2..
 *  [huwang](https://wordpress.org/support/users/huwang/)
 * (@huwang)
 * [13 years ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602032)
 * I just got it work. Here is how. In the instruction in Marteens’s post, step 
   2 says to change the API url. So go the the widget source code, change the occurrence
   of [http://free.worldweaatheronline.com/feed/<something](http://free.worldweaatheronline.com/feed/<something)
   else> and [http://www.worldweaatheronline.com/feed/<something](http://www.worldweaatheronline.com/feed/<something)
   else> to [http://api.worldweatheronline.com/free/v1/<something](http://api.worldweatheronline.com/free/v1/<something)
   else>. It then works.
 * Files you need to change are : gg_funx_.php and wweather_widget.php
 * Good luck.
 *  [Marteens](https://wordpress.org/support/users/marteens/)
 * (@marteens)
 * [13 years ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602033)
 * Ok, great thanks! I had only changed the weather_widget.php, so that’s why it
   didn’t work for me earlier. Now I changed the gg_funx_.php aswell and it works
   perfectly.
 * In both gg_funx_.php and weather_widget.php I found two lines with
    “[http://free.worldweatheronline.com/feed/…&#8221](http://free.worldweatheronline.com/feed/…&#8221);
 * and I changed it to
 * “[http://api.worldweatheronline.com/free/v1/…&#8221](http://api.worldweatheronline.com/free/v1/…&#8221);
 * just like huwang said. So thanks again 😉
 *  [sierramike](https://wordpress.org/support/users/sierramike/)
 * (@sierramike)
 * [13 years ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602035)
 * So much thanks, I did the same and got it working !
 *  [treehousecreations](https://wordpress.org/support/users/treehousecreations/)
 * (@treehousecreations)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602046)
 * I’m sorry, i’m kinda new at this. Where can I find the source code for gg_funx_.
   php and wweather_widget.php.
 * Thanks,
    Ken
 *  [Dolomats0](https://wordpress.org/support/users/dolomats0/)
 * (@dolomats0)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602047)
 * Thank you guy’s that helped me
 *  [J Reswob](https://wordpress.org/support/users/justinb81/)
 * (@justinb81)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602050)
 * Thank you this worked for me aswell!
 * **treehousecreations** the files are located in your plugin directory. ex. /wordpress/
   wp-content/plugins/weather-and-weather-forecast-widget/
 *  [karimchedid](https://wordpress.org/support/users/karimchedid/)
 * (@karimchedid)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602057)
 * Thanks a lot , now its accepting the key ,
    but i am having this message “Sorry!
   No actual weather data available!”

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

The topic ‘New API Key Doesn't Work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/weather-and-weather-forecast-widget.
   svg)
 * [Weather and Weather Forecast Widget](https://wordpress.org/plugins/weather-and-weather-forecast-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weather-and-weather-forecast-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weather-and-weather-forecast-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/weather-and-weather-forecast-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weather-and-weather-forecast-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weather-and-weather-forecast-widget/reviews/)

## Tags

 * [invalid key](https://wordpress.org/support/topic-tag/invalid-key/)

 * 8 replies
 * 8 participants
 * Last reply from: [karimchedid](https://wordpress.org/support/users/karimchedid/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/new-api-key-doesnt-work/#post-3602057)
 * Status: not resolved