Skip to content

Instantly share code, notes, and snippets.

@thecfguy
Created October 2, 2013 10:12
Show Gist options
  • Select an option

  • Save thecfguy/6791578 to your computer and use it in GitHub Desktop.

Select an option

Save thecfguy/6791578 to your computer and use it in GitHub Desktop.
Get people search for linkedin
<cfhttp url="https://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name))">
<cfhttpparam type="header" name="content-type" value="application/x-www-form-urlencoded">
<cfhttpparam type="url" name="oauth2_access_token" value="[access-token]">
<cfhttpparam type="url" name="first-name" value="pritesh">
<cfhttpparam type="url" name="last-name" value="patel">
<cfhttpparam type="url" name="format" value="json">
<cfhttpparam type="url" name="count" value="2">
</cfhttp>
<cfset response = deserializeJSON(cfhttp.filecontent)>
<cfdump var="#response#" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment