Google+ link

I am looking for the equivalent of facebook sharer ( http://www.facebook.com/sharer/sharer.php?u=http://stackoverflow.com) link on Google+. I can’t use the regular +1 button, since I need to embed it in an Android application, but I want it to work the same way - start the site at the +1 specified URL. How should I do it? Or maybe there is another supported way to insert a +1 button in an Android app?

thank

+5
source share
5 answers

The official Google+ Share link is now available here: https://developers.google.com/+/plugins/share/#sharelink

Usage example:

/fooobar.com / ...

+5
source

URL-, Google+.

https://plusone.google.com/_/+1/confirm?hl=en&url=YOUR-WEBSITE
+3

--link-: () , . , ( ), , .

+2
Intent shareIntent = new PlusShare.Builder(Proyecto.this)
                              .setType("text/plain")
                              .setText(shareUsuario +" - "+ shareProyecto)
                              .setContentUrl(Uri.parse(getResources().getString(R.string.urlMeetinarts) + "work/" + shareId))
                              .getIntent();             
                            startActivityForResult(shareIntent, 0);
0

All Articles