Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google+ share link

I'm looking for equivalent of facebook sharer link (http://www.facebook.com/sharer/sharer.php?u=http://stackoverflow.com) in Google+. I can't use the regular +1 button as I need to embed it in Android application, but I want it to work similar - launch a website to +1 specified url. How do I do it? Or maybe there's some other supported way to embed +1 button in Android application?

Thanks

like image 872
Sebastian Nowak Avatar asked Oct 19 '11 13:10

Sebastian Nowak


4 Answers

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

Example usage:

https://plus.google.com/share?url=http://stackoverflow.com

like image 181
Chirag Shah Avatar answered Oct 11 '22 14:10

Chirag Shah


you can use following URL to get the Google+ share link.

https://plusone.google.com/_/+1/confirm?hl=en&url=YOUR-WEBSITE
like image 30
Karn Singh Avatar answered Oct 11 '22 13:10

Karn Singh


Concerning that simple-static-link-approach: this (German) forum entry states that such a link does not exist. I don't know how reliable this is (as it seems to be a user-to-user forum), but it's still more than I've been able to find on the official pages.

like image 31
Jay Avatar answered Oct 11 '22 14:10

Jay


Here is a google+ api: https://developers.google.com/+/api/ , you can integrate it inside your application.

Google+ library download: http://code.google.com/p/google-api-java-client/wiki/Android

like image 23
Paresh Mayani Avatar answered Oct 11 '22 15:10

Paresh Mayani