Google+ API.分享互动帖子错误.声称的来源不在白名单中 [英] Google+ API. Sharing interactive posts error. Claimed origin not in whitelist

查看:93
本文介绍了Google+ API.分享互动帖子错误.声称的来源不在白名单中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照本页 developers.google.com 所述进行所有操作,该窗口将显示一秒钟,然后在控制台中显示错误消息"Claimed origin not in whitelist:(mySiteLink)"

I do everything as stated on this page developers.google.com however, the window appears for a split second, and then an error in the console "Claimed origin not in whitelist: (mySiteLink)"

推荐答案

您在Google API控制台中的网站来源应仅包含http://或https://,然后是主机名.确保最后没有/. 网络来源位于控制台的OAuth 2.0客户端ID部分下.

Your web origin in the Google API Console should only include http:// or https:// and then the host name. Make sure you don't have / in the end. The web origin is under the OAuth 2.0 Client ID section in the Console.

这篇关于Google+ API.分享互动帖子错误.声称的来源不在白名单中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆