Results 1 to 2 of 2

Thread: API Key

  1. #1
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default API Key

    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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It doesn't need one any more. Instead of:

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

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    cmhrider (03-23-2012)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •