OAuth-Google Latitude integration in Clojure?
-
04-10-2019 - |
سؤال
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!
المحلول 2
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.
نصائح أخرى
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...