Does anyone know how to get Google+ user's home/work address(not email) from Google API? - google-plus

Currently we retrive user's profile by people.get API, and scopes are profile email https://www.googleapis.com/auth/plus.login.
But no matter user sets their home/work address as public, we still can't get address from reponse.
Did I use the wrong API or scopes?

As documented for scopes.
email gives access to "the user's Google account email address."
https://www.googleapis.com/auth/plus.profile.emails.read gives access to "the user's Google account email address, as well as any public, verified email addresses in the user's Google+ profile."

Related

Is there any way to detect if a Twitter user verified their email address?

I have a whitelisted Twitter app that can request and receive email address of a twitter account when the owner of the account accepts and logs in through my app.
Now, I plan to connect it to my already available "Sign-up/Login by email" flow seamlessly.
The problem is, logged in Twitter user may not have verified their email account. In that case they can hijack a user on my system who signed-up with that email.
Therefore, I have to be sure that they have verified their email address. Otherwise I have to automatically send a confirmation link to the email address of the just-signed-in twitter user.
Is there any way to detect if the user confirmed their email address on Twitter? If not, what is the general solution to this problem? At least, how do you solve it for yourselves?
I found out that if the user does not verify their email address, Twitter will not return the email address even though it is there. So, if you receive an email address from Twitter, that should mean that the email address of the user is verified.
If anyone finds that this is not correct, please leave your comment or your findings.
Twitter returns a 0 length string in field email if user didn't verify his email.
...
translator_type: 'none',
email:''}

Extracting LinkedIn profile names with email address of all US IT professionals

I'm working on project that using LinkedIn developer account. How can I extract all IT professionals email address through LinkedIn using LinkedIn API?
For country, you could check Location Fields in this page for API information regarding LinkedIn
For contact information, I am not sure whether LinkedIn provides access to email address, you could refer to this page for API information for contact details

Accessing alternate email addresses for a Google Account using oauth

A Google account can have multiple email address associated with. e.g abc#yahoo.com can be an email address associated with a Google account, however if a user has Gmail setup, then the Gmail address becomes the primary email address associated with that account. So in the above case, the Google account in question will have abc#gmail.com as the primary email address; and abc#yahoo.com and abc#somenewcompany.com as secondary email addresses.
I wish to authenticate the user using abc#somenewcompany.com email address, but the token generated via Google OAuth and verified using the JSON object returned at https://www.googleapis.com/oauth2/v1/userinfo?access_token=generated-token only returns the primary email address.
Is there a way to identify this email address? somenewcompany.com is not a oauth provider.

Services that get facebook emails

I've noticed that my android phone, the iphone, outlook.com, and yahoo mail all can import my friends' email addresses (and sometimes phone numbers) from facebook. However, I don't see anywhere in the documentation of the API to suggest that you can get email.
Do these services have special agreements with Facebook or am I just not finding the specific api for "contact" importing? I've not had any luck using "email" field with friends api.
Any ideas?
These services have some special agreements with Facebook and thus are able to retrieve the Email Ids of the Friends of the User. Most of them don't allow further exporting of data obtained from there directly.
And as per Email Permissions documentation here it clearly states that for App Developers
Note: There is no way for apps to obtain email addresses for a user's friends.
As per the phone number, there is no access to it no matter what permission. You may though ask the user to fill those for you.

Send an Email as the Currently Logged in User | Google API

Is it possible to send an email to join the site as the currently logged in user on your site to his/her contacts?
You can do that now with the GMail API. You will need the user's consent of course, and will need the Contacts API to retrieve the user's contacts.