views:

89

answers:

2

Has anyone integrated with Google Latitude (or any Google API, for that matter) with Clojure and can point me to a working example? I'm trying authenticate to the Google Latitude API and running into all sorts of problems, for example a "Token Invalid" error from Google- nothing else- after logging in for the User Approval URI.

Thanks!

+1  A: 

Have you looked at clj-oauth and the provided examples? Granted, they are for Twitter, but I doubt that Google Latitude's OAuth will be very different...

Michael Kohl
+1  A: 

I ended up making a few tweaks to make clj-oauth compatible with the Latitude API (for example, Google OAuth requires a :scope parameter that wasn't supported in the original version of clj-oauth). Until my changes get merged into the official version, those of you who are interested can check out my branch here.

yayitswei