tmort / Socialite

Other
1.68k stars 164 forks source link

googleplus-share not showing. #89

Open pabloselin opened 10 years ago

pabloselin commented 10 years ago

Thanks for the script, it's great!

However, I'm having a small issue with the googleplus-share function, it's not showing at all and in firebug I'm getting a

"Refused to display 'https://apis.google.com/u/0/_/widget/render/badge?usegapi=1&size=medium&wid…400859641181&parent=http%3A%2F%2Fradio.uchile.cl&pfname=&rpctoken=39636008' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'."

But when I use the googleplus-one feature the widget loads OK. I'm wondering if there's a bug or is just that I'm missing something?

parkersweb commented 10 years ago

I'm seeing exactly the same problem. Did you find a resolution to this?

pabloselin commented 10 years ago

sadly no, I just gave up and used the plus one feature, maybe I will get at it at a later time.

parkersweb commented 10 years ago

Thanks for letting me know. I think it's probably down to a change in the way G+ should be called which needs reflecting in socialite?

pabloselin commented 10 years ago

I think that's possible, but I haven't been able to deal with G+ API too successfully.

develCuy commented 9 years ago

This is the markup I use for g+:

<a href="https://plus.google.com/share?url=http://example.com/url" data-url="http://example.com/url" data-size="tall" class="socialite googleplus-one"><span class="vhidden">Share on Google+</span></a>

Also, make sure to disable Add Block Plus or similar