• Hi there. First off, thanks a ton for building this plugin. I spent about 4 hours trying to track down a good bit of code to do the same thing on my blog and low and behold, you had already built and packaged the whole thing for WP. Great! I will absolutely be donating (if possible) once I have it working.
    I am running WP 3.2.1 and have gotten as far as registering my site with Google and entering the oauth key and secret. Now my WP has a red error banner in the admin area:

    Google Latitude History: Your OAuth token is stale, please refresh the token on the settings page. Reason: Login Required

    When I try to refresh the token, I am taken through the two-step Google permission process and am sent back to my WP – but the error remains. If I click “sync latitude history”, I get two messages:

    Error setting Latitude location history

    Google Latitude History was synced

    Any tips would be greatly appreciated.
    Thanks!

    https://www.ads-software.com/extend/plugins/google-latitude-history/

Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author peter2322

    (@peter2322)

    ok try this:

    Go to Google OAuth Playground at https://googlecodesamples.com/oauth_playground/index.php

    1. scope url = https://www.googleapis.com/auth/latitude
    2. oauth_signature_method = HMAC_SHA1
    2. oauth_consumer_key = your key
    2. consumer secret = your secret
    3. request token and grant access
    4. authorize request token
    5. access token
    6. enter https://www.googleapis.com/latitude/v1/currentLocation and execute

    This will test your request for a oauth token without my application.

    Thread Starter jaxonk

    (@jaxonk)

    Hi there Peter,
    Sorry for the long delay. I had spent a bit too much time trying to get this to work and had to put it aside for a while.
    Today I tried deleting every reference I could find in my database, all web files and reinstalling. Once I added the oauth stuff and clicked “refresh..”, I arrived on a white page with the following error:
    Could not connect to Google Latitude. Refresh the page or try again later.
    The url was:
    https://mydomain.com/wp-content/plugins/google-latitude-history/redirect.php?callback=%2Fwp-admin%2Foptions-general.php

    I tried deleting everything and starting again from scratch. Same thing.
    Thanks!
    Jackson

    Thread Starter jaxonk

    (@jaxonk)

    Also, I just went through the last set of instructions you sent and they wall worked fine until the last one. The URL you mentioned does not work. Any ideas?
    Thanks

    Plugin Author peter2322

    (@peter2322)

    I dont know why you are not getting the tokens. Are you doing this on external web service? Have you tried getting up wordpress on your local computer?

    Also the Oauth playground probably didnt work on the last step b/c the I believe Google Latitude team is currently working on the service. I am getting different results everyday from the playground.

    Thread Starter jaxonk

    (@jaxonk)

    Hey there Peter,
    The blog is just a simple self-hosted wordpress blog. I will try out the plugin on a clean install on another domain and try to narrow down the issue – to a conflict, domain issue, whatever.
    Jaxon

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘[Plugin: Google Latitude History] Login Required erorr’ is closed to new replies.