【问题标题】:OAuth-Google Latitude integration in Clojure?Clojure 中的 OAuth-Google Latitude 集成?
【发布时间】:2011-04-16 02:59:33
【问题描述】:

有没有人通过 Clojure 将 Google Latitude(或任何 Google API)与 Clojure 集成,并且可以指出一个工作示例?我正在尝试对 Google Latitude API 进行身份验证并遇到各种问题,例如在登录用户批准 URI 后来自 Google 的“令牌无效”错误 - 仅此而已。

谢谢!

【问题讨论】:

    标签: clojure oauth google-latitude


    【解决方案1】:

    您看过clj-oauth 和提供的示例吗?当然,它们适用于 Twitter,但我怀疑 Google Latitude 的 OAuth 会非常不同......

    【讨论】:

      【解决方案2】:

      我最终进行了一些调整,以使 clj-oauth 与 Latitude API 兼容(例如,Google OAuth 需要 :scope 参数,而原始版本的 clj-oauth 不支持该参数)。在我的改动合并到正式版之前,有兴趣的可以看看我的分支here

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-05-03
        • 2013-08-14
        相关资源
        最近更新 更多