【发布时间】:2020-06-07 23:49:01
【问题描述】:
我在我的网站中使用 Google plus API 来登录用户并且效果很好,但是因为我只需要用户电子邮件,因为我创建了自己的 Auth Token 我不再需要使用 Google plus API,因为 Gmail API 提供我需要的所有信息还提供更多 daily query 1,000,000,000 与 Google plus API 的 20,000,000 相比。
问题是:
当我使用 Gmail API 时,我得到的信息与 Google plus API 提供的信息相同,这很棒。
但是,转到Google Cloud Console >> OAuth consent screen Tap >> OAuth rate limits 中的我的仪表板。
上面写着Your token grant rate = Your current per day token grant rate limit is 10,000 grants per day. The per day token grant rate resets every day
那么,我错过了什么吗?
注意:当我切换到 Gmail API 时,我确实更改了
client key、secret key和Google Sign In URL。
【问题讨论】:
标签: php google-api gmail-api