Retrieving Google plus user data by email - google-api

I got the user email (not the ID) and i need its profile picture.
Is there a way to retrieve users profile data by email?
Something like that:
https://plus.google.com/s2/photos/profile/my#email.com

There is no way to lookup a Google+ user by email (open feature request). There is no static URL method for retrieving a profile image (open feature request).

Related

youtube Channel data list API for need channel owner details

I need to get owner details like email/username/name of the channel using youtube data API. I've checked the document. Can you please suggest a way how I can get these details for the same?
Email address - emails are usually hidden by a button protected by reCaptcha
Thanks,
AR
If you check the documentation for channels#resource you will notice that the fields you are looking for
email
username
name
Do not exist there is no way to find out the owner of a YouTube channel via the YouTube API even if you are authenticated as that user. If you did authorize the user you could add the profile and email scopes and this would give you access to the Google People API and you would be able to find that information there.
If you are not authorizing the user then there is no way you are going to get private personal information about a user from a public api endpoint.

How do I get the Google user ID from an email address?

I want to display the GMail avatar of the user in my app. I can easily get the image URL, using the Google People API. But this API expects a user ID.
Which other Google API can I use to pass in an email address, and get back the user ID?
The Google people api is technically hooked up to Google Contacts. So if you authenticate your user and they have added themselves with a picture you will see it that way.
The Google+ api will work the same way you authenticate the user and if they have added a picture you will be able to see it.
Which other Google API can I use to pass in an email address, and get back the user ID?
NONE. There is no way Google or any other company is going to give you an api that is going to let you search on peoples email addresses and return a picture or any information about said person you may want to consult GDRP
Email address is private user information and is only accessible by being authenticated.

How to add custom variable for user response in survey monkey

is there add the username and role of a user responding to a 'survey monkey' survey on my website?
a link and some description would do ,
thanks
If you are sending out a Weblink collector, you can set custom variables (url query paramaters) to the survey to attach any metadata.
If you are sending out an Email collector, you can set custom values on a contact as well as regular contact information.
In both cases those will be available on the response. These are all also available in the public API if you are building an application.

Public API or URL format for Google+ profile photo given gmail address?

I know I can get it with a Google+ user ID, but I don't have that, I just have the users' email address. I don't want to make them login with their Google account.
Is it possible to get the photo? I'm thinking not, but I just wanted to make sure. Here's the most info on it I could find:
https://code.google.com/p/google-plus-platform/issues/detail?id=64
As the feature request says, there is no way to look up a Google+ profile via email address. Since the only way to get a profile's avatar is by looking up their profile, there is no way to get a profile's avatar via email.
Gravatar might be a better fit for what you are trying to do.
You can get their name and profile photo with avatarapi

TweetSharp - Get User Email ID after login

I am using TweetSharp for user login in my asp.net mvc web app. All works fine but after login I need to save the user data in my DB as well. I cant find email from TwitterUser object after loging. How can i get user's email once the user is authenticated?
thanks
You cannot. The Twitter API doesn't return email addresses for users.
Take a look at the users/show documentation to see all the information you can retrieve.
If your app is whitelisted, you can now retrieve the email as part of verify_credentials https://dev.twitter.com/rest/reference/get/account/verify_credentials

Resources