【发布时间】:2013-01-19 04:48:43
【问题描述】:
我想要一个用于获取 Google+ 主页供稿的脚本。我用于那个谷歌的script。 client-secrets.json 文件是:
{
"web": {
"client_id": "##########",
"client_secret": "############",
"redirect_uris": ["http://localhost:8080/oauth2callback/"],
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"client_email":"##########@developer.gserviceaccount.com",
"javascript_origins":["http://localhost:8080/"]
}
}
但是当我想启动这个应用程序时,它会打开一个错误的页面和损坏的机器人:
The redirect URI in the request: http://localhost:8080/ did not match a registered redirect URI
请帮我解决我的问题。
【问题讨论】:
标签: python api oauth-2.0 google-api-python-client