Log in

View Full Version : invalid key error



Jerome
01-19-2009, 03:14 PM
I am using the code from:

http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm

I set up my api key as such:

<script type="text/javascript" src="http://www.google.com/jsapi?key=http://www.jfedshaw.org">

Yet I am getting an invalid key error at:

http://www.jfedshaw.org/rss_feeds.htm

gfeedfetcher is in the same root folder as the feed file.

Can you help?

jscheuer1
01-19-2009, 03:29 PM
From the demo page:


IMPORTANT: Notice the "YOUR-API-KEY" portion at the very top of the code. You need to replace that with your free Google API Key. Go to this page (http://code.google.com/apis/ajaxfeeds/signup.html) and enter your site's domain (aka the domain you wish to display this script on). A key that is super-long is generated. Replace "YOUR-API-KEY" with this key!

The generate key will work on any page within the specified domain. If you need to use this script on another domain, generate another key

There could also be other problems, but you must get a generated key, your domain name by itself isn't valid.