Google api clientLocation doesnt work...

Discussion in 'Google API' started by LOD, Jul 25, 2009.

  1. #1
    hi
    can anyone help me to the google api clientLocation to figure out my website visitors country and IP address??
    thanks in advance.
     
    LOD, Jul 25, 2009 IP
  2. LOD

    LOD Member

    Messages:
    319
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    35
    #2
    what the hell man????
    i just submitted this 30 min ago.. and i can already find on google search enging for "google ClientLocation"
    this must be a record... !!!!!!
     
    LOD, Jul 25, 2009 IP
  3. youropensource

    youropensource Guest

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi ,


    I tried to use the Google Finance API the first step for the google Authentication .

    i generated the api key for the particular link and the code is bellow but its says the error is " google.gdata. " is undefined

    what is the problem how can i authenticated the Google for fiance API


    the code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>My Google Data API Application</title>
    <script src="http://www.google.com/jsapi?key=ABQIAAAAhs2lmeZZ7ln_H8Ih2pEk6hSirzRC2bxna-qyI5tK0CElYM5cjRRGdaCo7xqNT7-0aIb4ajzr9geHfA" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[

    google.setOnLoadCallback(getMyFeed);
    google.load("gdata", "1");

    function getMyFeed() {
    // Fill out
    }
    function logMeIn() {
    scope = "http://finance.google.com/finance/feeds/";
    var token = google.accounts.user.login(scope);
    }

    function setupMyService() {
    var myService =
    new google.gdata.finance.FinanceService('exampleCo-exampleApp-1');
    logMeIn();
    return myService;
    }
    setupMyService();

    //]]>
    </script>
    </head>
    <body>
    <div id="panel"/>
    </body>



    ==================================

    pealse any one help me to found the Solution how to authenticate the Google can you give the google Authentication script .


    Thank you
    damodharan
     
    youropensource, Jul 31, 2009 IP