开发者

OAuth-Google Latitude integration in Clojure?

Has anyone integrated with Google Latitude (or any Goog开发者_开发知识库le 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!


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...


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜