Got origin_mismatch error in Google+ share api

后端 未结 16 1019
醉梦人生
醉梦人生 2020-12-03 07:04

I want to share some dynamic content on google+. For this I checked it https://developers.google.com/+/web/share/interactive#rendering_the_button_with_javascript

<         


        
16条回答
  •  没有蜡笔的小新
    2020-12-03 07:38

    (The error has the answer for you)

    need to set javascript origin in google console api As

    origin=**http://www.pubandbar-network.co.uk**
    
    scope=https://www.googleapis.com/auth/plus.login
    response_type=code token id_token gsession
    access_type=online
    redirect_uri=postmessage
    cookie_policy=single_host_origin
    proxy=oauth2relay554026710
    *origin=http://www.pubandbar-network.co.uk*
    state=1995523240|0.4607792083184853
    display=page
    client_id=102180630313.apps.googleusercontent.com
    authuser=0
    

提交回复
热议问题