PDA

View Full Version : API Key



cmhrider
03-22-2012, 07:09 PM
I'm using the code listed in :: gAjax RSS Feeds Displayer and it has this notice.

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 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.


When I click to get a key there is a message that google doesn't require keys anymore. How do I get this code to work without at key?

Thanks for your help.

jscheuer1
03-22-2012, 07:32 PM
It doesn't need one any more. Instead of:


<script type="text/javascript" src="http://www.google.com/jsapi?key=YOUR-API-KEY">
</script>

Use:


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