Got origin_mismatch error in Google+ share api

后端 未结 16 986
醉梦人生
醉梦人生 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:48

    Just a little addition to Lee's answer: listing both the www.whatever.ext and whatever.ext forms of your URL in JavaScript origins may get rid of the error. That's what did the trick for my app.

提交回复
热议问题