Some sites have the ability to grab your profile picture after you sign up for the first time without the user actually uploading a pic. I think stackoverflow has this functionality at sign as well....How does it work?
It uses gravatar.com I believe. You associate an avatar with your email and then sites can use your email to locate your avatar. There is a plugin for Wordpress. Or google search 'gravatar API' to put it on your own site.
Good luck!
stackoverflow uses gravatars which are linked by your email address. You can read more about how gravatar works on their developer resources page.
There is a site called http://gravatar.com that takes a MD5 hash of your email to load a profile picture
They're using OpenID. Some OpenID providers allow you to upload a profile picture or it wil associate it with your Gravatar's e-mail address (http://en.gravatar.com/).
Related
Is it possible to use Google+ login page to allow users to login as pages to the site?
Otherwise, is there an API to get information about a logged in user pages? Or do I need to request access to Pages API?
In some cases, this is possible. However, the user would need to register a password on their page, which, according to the help topic, "is currently not available to pages owned by Google Apps accounts or users under the age of 18". I don't believe most people have this set up. You could request having such people set this up, but if they fall under that group they would be out of luck.
As such, I would recommend that you look for another way of doing this.
Is it possible to send website invitee to google plus users.
I have a website with option to login using google account. I want to send an message to all friends of logged in google users on logged in users request.
I think interactive posts would be a good solution for this.
This allows users to choose themselves who and if they want to invite.
You can define an invite text that will be prefilled in the share box (even though users can adjust that text).
If you want you can also use the people.list method to fetch some of the more relevant friends and prefill the share box with them.
See https://developers.google.com/+/features/interactive-posts and https://developers.google.com/+/web/share/interactive for details.
Based on a url like
https://plus.google.com/123456789012345678901 # dummy number
How I can find the gmail username?
If you are developing an app or script, you can use Oauth 2.0 and request the userinfo.email scope.
For details, see https://stackoverflow.com/a/7836385/1354939
This does require that you configure a Google APIs Console project and create a OAuth 2.0 client ID.
You can't. For privacy reasons, having someone in a circle or knowing their Google Plus id should not be enough to get an email address.
It should not be possible to find an arbitrary user's email address solely from the id contained in such a Google+ URL.
Is it possible to share some user activities (some url) to his google+ account directly with PHP (Not like a share button and having an popups or redirections)?
Please suggest me a best practice for doing the same.
Currently, it is only possible with the official Google+ Share Link, but this will render a pop-up.
https://developers.google.com/+/plugins/share/#sharelink
Google+ does not allow for direct writing to a user's stream without a user's direct interaction. You can write to a user's Google+ history after they've approved your application to do so and then the user can choose whether or not to share the moments to their circles or publicly.
The Google+ history is still in developer preview.
I'm building an address book application. I'd like to allow users to click on a contact in my application, and be directed to their yahoo or gmail webmail, to the compose page, with the "to" field populated with data that I supply. Is this possible?
As for Yahoo I really don't know. For Gmail you can. Just use the bellow URL (changing variables accordingly).
https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=user#example.com
It was just yesterday that I asked a if anyone knew where to find all of Gmail's variables.