35
LinkedIn Platform http://developer.linkedin.com

LinkedIn Platform at LeWeb 2010

Tags:

Embed Size (px)

DESCRIPTION

LinkedIn Platform Workshop from LeWeb 2010.

Citation preview

Page 1: LinkedIn Platform at LeWeb 2010

LinkedIn Platformhttp://developer.linkedin.com

Page 2: LinkedIn Platform at LeWeb 2010

Sources: http://www.bls.gov/tus/charts/, http://www.conference-board.org/press/pressdetail.cfm?pressid=3820

8.86145

Page 3: LinkedIn Platform at LeWeb 2010

Our Mission: Connect the world’s professionals to make them more productive and successful

Page 4: LinkedIn Platform at LeWeb 2010

85 Million Members

*Names used for examples only.

Matthew Reye

E-Business Manager, HP

Anne Marie Perignon

CFO, Wells Fargo

Soumitra Rajan

Pre-Sales EngineerApple

Rob Le

Dir, Marketing Operations Aon Insurance

Vinita Bhagda

Sr. Product ManagerCoca-Cola

Nick Riccard

Interactive Art DirectorVMware

Mei Wu Lee

Marketing ManagerVerizon

Veronica Capa

Project CoordinatorGoogle

George Kingsten

Enterprise Sales AssociateAccenture

Patrick Wyser

Sales Director Nokia

Page 5: LinkedIn Platform at LeWeb 2010

1. Help You TellYour ProfessionalStory

Page 6: LinkedIn Platform at LeWeb 2010
Page 7: LinkedIn Platform at LeWeb 2010

Master’s Degree

MBA

Bachelor’s Degree

What I do now

What I used to do

10 Years Ago…

Page 8: LinkedIn Platform at LeWeb 2010

Professional Articles

Events

Reading List

Colleagues

Recommendations

Referrals

GroupsInventor

Photo

Search Expert

Mentor

Startup Advisor

Entrepreneur

International Experience

Publications

Who Do I Recommend

LanguagesToday

Page 9: LinkedIn Platform at LeWeb 2010

?????

Tomorrow

?

Page 10: LinkedIn Platform at LeWeb 2010

Your Feed

Page 11: LinkedIn Platform at LeWeb 2010

Marko Kaiser @marcoSeesmic http://www.seesmic.com

Page 12: LinkedIn Platform at LeWeb 2010

Your Story TravelsWith You

Page 13: LinkedIn Platform at LeWeb 2010

2. Achieve YourCareer Aspirations

Page 14: LinkedIn Platform at LeWeb 2010

Imagine your future

Page 15: LinkedIn Platform at LeWeb 2010

Use theProfessional Graph

Page 16: LinkedIn Platform at LeWeb 2010
Page 17: LinkedIn Platform at LeWeb 2010

Leverage the Inside Connection

Page 18: LinkedIn Platform at LeWeb 2010

Land your dream job Find the best candidates Finance your company Collaborate with others Tap the information &

knowledge you need to be successful

Transform the Way You Work

Page 19: LinkedIn Platform at LeWeb 2010

LinkedIn Developer Networkdeveloper.linkedin.com

Page 20: LinkedIn Platform at LeWeb 2010

LinkedIn Labs linkedinlabs.com

Collection of LinkedIn Hackday Winners

Cool ideas and inspiration

Working examples of the JavaScript APIs

Page 21: LinkedIn Platform at LeWeb 2010

JavaScript APIs

Easy– No “oAuth”, no “tokens”, no “signing”

Simple– Familiar HTML and JS Syntax

Powerful– All REST APIs still available

Fun– Watch the code

Page 22: LinkedIn Platform at LeWeb 2010

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>

Page 23: LinkedIn Platform at LeWeb 2010

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>

Page 24: LinkedIn Platform at LeWeb 2010

Sign in with LinkedIn

api_key: The API Key received during signup on developer.linkedin.com

authorize: Either "true" or "false". If "false", the user will not be automatically logged in for API calls.

Page 25: LinkedIn Platform at LeWeb 2010

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>

Page 26: LinkedIn Platform at LeWeb 2010

Sign in with LinkedIn

Page 27: LinkedIn Platform at LeWeb 2010

Retrieve a Profile

<script type="IN/Login" data-onAuth="getProfile"> Logged in as <?js= firstName ?> <?js= lastName ?></script>

Page 28: LinkedIn Platform at LeWeb 2010

Retrieve a Profile

function 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(new RegExp("{"+name+"}", "g"), user[name]); } document.getElementById("profile").innerHTML = tmpl; });}

Page 29: LinkedIn Platform at LeWeb 2010

Retrieve a Profile

function 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(new RegExp("{"+name+"}", "g"), user[name]); } document.getElementById("profile").innerHTML = tmpl; });}

Page 30: LinkedIn Platform at LeWeb 2010

IN.API.Profile(1).fields(2).result(3)

① The member IDs to get:① url=http://www.linkedin.com/in/adamnash

② mx_82djaa (member token)

③ The keyword "me" (current user)

Page 31: LinkedIn Platform at LeWeb 2010

IN.API.Profile(1).fields(2).result(3)

① The member IDs to get

② The fields to return:① camelCase names

② http://developer.linkedin.com/docs/DOC-1061

Page 32: LinkedIn Platform at LeWeb 2010

IN.API.Profile(1).fields(2).result(3)

① The member IDs to get

② The fields to return

③ A callback function for the result① The function itself

Page 33: LinkedIn Platform at LeWeb 2010

IN.API.Profile(1).fields(2).result(3)

① The member IDs to get

② The fields to return

③ A callback function for the result

④ Additional Chained Methods① .error() is identical to result() for errors

② .params() passes key-value pairs to the API

Page 34: LinkedIn Platform at LeWeb 2010

.result(myFunction(r) {...}, [scope])

The variable "r" is a JavaScript Object Contains "values" for collections of items Similar to the XML REST API

Page 35: LinkedIn Platform at LeWeb 2010

LinkedIn Developers Programhttp://developer.linkedin.com