If I have a friends Linkedin User Name, how can I get his UserId using the Linked-In Developer APIs ?
For instance if my friends linkedin public URL is https://www.linkedin.com/in/XXX-XXX-c802146 the username is XXX-XXX-c802146. So now I need to get the User Id of this user. How can I get this ?
If you have the user's actual profile URL, just go to the page source and do a text search for li:member: and you should spot references to the actual profile ID. This worked for my purposes.
Related
We are using previous version v1 of linkedin. We are getting firstname, last name, email, heading, profile url,profile image etc. Now linkedin created v2 and giving access liteprofile only. And we are getting firstname, lastname ,email, profile image only. not able to get profile url.
We are using this authentication in survey site I need profileurl as well in authentication that possible with basic profile.
In need profile URL in this API. I have already applied for developer program but rejected.I can get this url by paid services if any from linkedin please confirm?
GET https://api.linkedin.com/v2/me
Linked In Login Integration response
If you're a programmer, you don't need to buy any paid services. You can use Google Custom Search JSON API to get LinkedIn Profile URL, even Job Title ;-)
site:linkedin.com {query}
Good luck!
I'm running into a strange problem accessing to User birthday from my site.
The Facebook App is configured to have Birthday access:
From Server Side I get the Token using my AppId & AppSecret and then I call Facebook with:
https://graph.facebook.com/[USER ID]?fields=id,birthday,email,first_name,last_name&access_token=[MY TOKEN HERE]
As response I get all the Fields I'm interested in (email, first name, last name etc) except for BIRTHDAY.
In the App configuration the Birthday field is approved:
If I call it from the facebook console with the App Token:
As suggested by Facebook support, this is NOT working by design.
I was using the "App Token" to access to the personal information instead of the user token. Using the user token everything worked like a charm.
In few words: to access user info, use the user token.
Folks,
I just started to work on an ASP.NET MVC4 web application. I added support for local login as well as login using Google ID (using OAuthWebSecurity).
It seems the user is successfully able to login using Google ID. When I examine Membership.GetUser(), I see that the user name for the logged in user is the Google email ID.
As the user can log in either locally or using Google ID, I need to have the ability to query my local database using either the local user ID or the Google ID.
I am trying to understand what Google ID is. Is it the email address of the user or is there a unique GUID associated with each Google user. I am guessing it must be the latter case. If it is, how do I obtain this Google ID? I don't see any property on Membership class that gives me this information.
Thank you in advance for your help.
Regards,
Peter
The username for google is the email address. This is an OpenID account.
I want to integrate Facebook with my .net application which is in vb.
I want to use facebook login as open id login to my application.
I reached to login with fb and get all basic information of my facebook profile.
But still I do not get facebook login id(means facebook login email id) in my user information detail retrieved from facebook.
Please help me out to solve this.
I get first name, last name and etc. but I want email id of facebook login or primary email address.
You'll have to prompt your users to grant the email permission. Then you'll be able to pull the email field in the same API call that you get their name and basic info.
i want to update status on linkedin using linkedin user id, i am developing my final year degree project of social bookmaring site, i dont want to save username and password of the user, i am only saving userid of the user. plz help me.
when user login in to my site , only first time i want to authenticate user and next time in future i use Userid if linkedin to post his status.
Use ASP.NET Profiles.
http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx