Saltar al contenido principal
LinkedIn Platformhttp://developer.linkedin.com
Sources: http://www.bls.gov/tus/charts/, http://www.conference-board.org/press/pressdetail.cfm?pressid=38208.86145
Our Mission: Connect the world’s professionals to make them more productive and successful
85 Million MembersMatthew ReyeE-Business Manager, HPAnne Marie PerignonCFO, Wells FargoSoumitraRajanPre-Sales EngineerAppleRob LeDir, Marketing Operations Aon InsuranceVinita BhagdaSr. Product ManagerCoca-ColaNick RiccardInteractive Art DirectorVMwareMei Wu LeeMarketing ManagerVerizonVeronica CapaProject CoordinatorGooglePatrick WyserSales Director NokiaGeorge KingstenEnterprise Sales AssociateAccenture*Names used for examples only.
Help You TellYour ProfessionalStory
MBAMaster’s DegreeBachelor’s DegreeWhat I do nowWhat I used to do10 Years Ago…
Who Do I RecommendTodayLanguagesPhotoColleaguesMentorInternational ExperienceProfessional ArticlesRecommendationsEventsStartup AdvisorSearch ExpertReading ListEntrepreneur ReferralsInventorPublicationsGroups
?????Tomorrow?
Your Feed
Marko Kaiser @marcoSeesmic http://www.seesmic.com
Your Story TravelsWith You
2. 	Achieve YourCareer Aspirations
Imagine your future
Use theProfessional Graph
Leverage the Inside Connection
Transform the Way You WorkLand your dream job
Find the best candidates
Finance your company
Collaborate with others
Tap the information & knowledge you need to be successfulLinkedIn Developer Networkdeveloper.linkedin.com
LinkedIn Labs linkedinlabs.comCollection of LinkedIn Hackday WinnersCool ideas and inspirationWorking examples of the JavaScript APIs
JavaScript APIsEasyNo “oAuth”, no “tokens”, no “signing”SimpleFamiliar HTML and JS SyntaxPowerfulAll REST APIs still availableFunWatch the code
Sign in with LinkedIn<!DOCTYPE><html><head>  <title>LinkedIn JavaScript API</title>  <script type="text/javascript" src="http://platform.linkedin.com/in.js">api_key: 7TUS2_LeCD_vLuUE0L9ew35dh-tYtWkZDk4lQm6LYbcdVXgRELNWUMxl    authorize: false  </script></head><body>  <script type="IN/Login">    Logged in as <?js= firstName ?> <?js= lastName ?>  </script></body></html>
Sign in with LinkedIn<!DOCTYPE><html><head>  <title>LinkedIn JavaScript API</title>  <script type="text/javascript" src="http://platform.linkedin.com/in.js">api_key: 7TUS2_LeCD_vLuUE0L9ew35dh-tYtWkZDk4lQm6LYbcdVXgRELNWUMxl  authorize: false  </script></head><body>  <script type="IN/Login">    Logged in as <?js= firstName ?> <?js= lastName ?>  </script></body></html>
Sign in with LinkedInapi_key: The API Key received during signup on developer.linkedin.comauthorize: Either "true" or "false". If "false", the user will not be automatically logged in for API calls.
Sign in with LinkedIn<!DOCTYPE><html><head>  <title>LinkedIn JavaScript API</title>  <script type="text/javascript" src="http://platform.linkedin.com/in.js">api_key: 7TUS2_LeCD_vLuUE0L9ew35dh-tYtWkZDk4lQm6LYbcdVXgRELNWUMxl    authorize: false  </script></head><body><script type="IN/Login">    Logged in as <?js= firstName ?> <?js= lastName ?>  </script></body></html>
Sign in with LinkedIn
Retrieve a Profile<script type="IN/Login" data-onAuth="getProfile">  Logged in as <?js= firstName ?> <?js= lastName ?></script>
Retrieve a Profilefunction getProfile() {IN.API.Profile("url=http://www.linkedin.com/in/adamnash")  .fields("firstName", "lastName", "industry", "distance", "summary")  .result(function(res) {var user = res.values[0],tmpl = ["<p>{firstName} {lastName} works in ",                "the {industry} industry. You are {distance} degree(s) ",                "away in the network. What follows is their summary.",                "</p><p>{summary}</p>"].join("");    for (var name in user) {tmpl = tmpl.replace(newRegExp("{"+name+"}", "g"), user[name]);    }document.getElementById("profile").innerHTML = tmpl;  });}
Retrieve a Profilefunction getProfile() {IN.API.Profile("url=http://www.linkedin.com/in/adamnash").fields("firstName", "lastName", "industry", "distance", "summary").result(function(res) {var user = res.values[0],tmpl = ["<p>{firstName} {lastName} works in ",                "the {industry} industry. You are {distance} degree(s) ",                "away in the network. What follows is their summary.",                "</p><p>{summary}</p>"].join("");    for (var name in user) {tmpl = tmpl.replace(newRegExp("{"+name+"}", "g"), user[name]);    }document.getElementById("profile").innerHTML = tmpl;  });}
IN.API.Profile(1).fields(2).result(3)The member IDs to get:url=http://www.linkedin.com/in/adamnashmx_82djaa (member token)The keyword "me" (current user)
IN.API.Profile(1).fields(2).result(3)The member IDs to getThe fields to return:camelCase nameshttp://developer.linkedin.com/docs/DOC-1061
IN.API.Profile(1).fields(2).result(3)The member IDs to getThe fields to returnA callback function for the resultThe function itself