【问题标题】:Google integration in web applicationGoogle 在 Web 应用程序中的集成
【发布时间】:2018-01-19 12:14:32
【问题描述】:

我想在我的网络应用程序中集成 gmail 和 google 日历。我可以通过 google 登录并对 gmail 或 google calendar API 进行 api 调用,具体取决于我向 google 请求的授权。

我还没有找到同时为多个 API 请求授权的方法。这甚至可能吗?是否可以接收一个访问令牌以将其用于针对多个 Google API 的请求?

【问题讨论】:

    标签: google-api gmail google-calendar-api


    【解决方案1】:

    据我所知是可以做到的。如果您尝试在 Google Oauth 2.0 Playground 中测试它并选择多个 API 范围。

    "scope": "https://www.googleapis.com/auth/calendar https://mail.google.com/ https://www.googleapis.com/auth/drive"
    

    应该是这样的:

    希望这会有所帮助。

    【讨论】:

    • 谢谢!我会试试看! :)
    • Google-Meet 会议有类似的功能吗? @manosagent
    • @iamrajshah 我没有与 Google-Meet 合作过,所以我无法给出一个好的答案...抱歉。
    猜你喜欢
    • 2015-11-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-10-30
    • 2014-12-04
    • 2020-05-25
    • 1970-01-01
    相关资源
    最近更新 更多