Integrate with Google button returns 403 Forbidden

时光总嘲笑我的痴心妄想 提交于 2019-12-11 09:19:17

问题


We have a public market place app which we can install from the Chrome webstore . The "Integrate With Google" button is visible in the webstore.

However when we try to put the same button in our website using

<g:additnow applicationid="APP-ID"></g:additnow>

We get a 403 Forbidden error from apis.google.com/additnow/additnow.html.

I have verified that our app is public, app id is correct, even listed out website url in the clien id javascript origins.


回答1:


As noted in the documentation, after you publish your app to the store it may take a few days for the button to become active:

Note: After your app is published on Google App Marketplace, it may take a number of days before the Integrate with Google button can successfully install your app. Make sure to try it on a local page and make sure that it is working before placing the button on a live website.

The 403 error message indicates that it isn't active yet. Please try again in a couple of days.



来源:https://stackoverflow.com/questions/25591706/integrate-with-google-button-returns-403-forbidden

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!