Communication with Google PlusOne, without embedding a button (for privacy purposes)

It looks like Google only offers the code to insert the +1 button.

However, serious privacy issues are associated with this (plus a fairly specific download time).

For some pointers regarding privacy and legal issues related to Facebook and Google +1, see: Like button and privacy issue

A common workaround is a two-click solution German ( also discussed in slashdot English ), where the first click turns on the button (download javascript from Google), the second click on the regular +1 button.

However, I do not want to implement this solution with two clicks. Largely because the Google +1 button is ugly and not suitable for page layout .

What I'm really looking for is a separate webpage where the user can essentially confirm that he likes the page. This page can live on google.com, and essentially it will be a second click. I am not trying to trick people into + 1 per page. The second click is all right with me. I just don't want to force them to load the plus button (and I don't like her views).

There seems to be an option

https://plus.google.com/share?url=<URL> 

which, however, is a share on Google+, not +1.

I also saw this URL:

 https://plusone.google.com/_/+1/confirm?hl=en&url=<URL> 

(see, for example, here: Adding a Google Plus link (single or general) to an e-mail newsletter ), but I can’t submit this form (i.e. it doesn’t seem to work).

Best working solutions is a two-click approach .: - (

Update : url, https://plusone.google.com/_/+1/confirm?hl=en&url=<URL> really works. It was just my proxy breaking it. Then it looks like a Google+ share dialog. I am not happy with this result yet (in particular, since this does not seem to be a secure approach for Google, and they may at any time think about banning the site, I think)

+4
source share
3 answers

The approach I'm currently looking at is pretty trivial:

I set up the Google Plus page for the website, and the plus button sends the user there. Actually the same as the Facebook icon I use. Then users get a full selection of interaction options, including +1, but also circled and shared.

First of all, this obviously should not violate any g + policies. Secondly, this is a fairly transparent behavior for users. The plus button takes them to Google Plus, where they see the regular plus user interface.

Secondly, he still just two clicks to "+1". Thus, it is no worse than any other data privacy solution.

+1
source

The only officially supported method + 1 in the URL is with the +1 button. Always load or load it with the second click.

+1
source

I found a solution here .

The problem is that social sites take your own “general” forms, but only if the link is encoded in a URL.

In Wordpress, the custom Google+ button that I use without an official API and currently work is the following code:

 <a href="http://plus.google.com/share?url=<?php print(urlencode(get_permalink())); ?>+<?php print(urlencode(the_title())); ?>" title="Share this story on google+">google+</a> 

Hope this helps, follow the link above for a list of other links to social sites. :)

+1
source

Source: https://habr.com/ru/post/1396020/


All Articles