diff --git linkedin.inc linkedin.inc
index 843031d..4165c39 100644
--- linkedin.inc
+++ linkedin.inc
@@ -496,3 +496,81 @@
   }
   return $fields;
 }
+
+/*
+ * Search for people on linkedin
+ * Usage :
+ * $account : the uid of the user we want to access infos
+ * $fields : the fields we want to retrieve, as an array (see http://developer.linkedin.com/docs/DOC-1061 for complete list).
+ * $flat : wether the returned array will preserve the hierarchy of infos of 'flatten' all fields to the same level.
+ * 
+ * http://api.linkedin.com/v1/people-search? count=[1-25]&  facet=[facet code, values]& facets=[facet codes]&  sort=[connections|recommenders|distance|relevance]
+ * 
+ * @return people and facets
+ */
+function linkedin_search_people($search_values, $start = 0, $count = 25, $fields = NULL,  $facets = NULL, $sort= NULL) {
+  $url = "http://api.linkedin.com/v1/people-search";
+
+  // Add fields to the URL.
+  if (isset($fields)) {
+    // TODO: non people facets
+    $url .= ':(people' . _linkedin_build_fields_request($fields) . ')';
+  }
+  $url .= '?';
+  
+  // Add search values to the URL.
+  $valid_search_values = array('first-name','last-name','company-name','current-company','title','current-title','school-name','current-school'.'country-code','postal-code','distance');
+  $search_array = array();
+  foreach ($search_values as $search_key => $search_value) {
+    if (in_array($search_key, $valid_search_values)) {
+      $search_array[] = $search_key . '=' . urlencode($search_value);
+    }
+  }
+  $url .=  implode('&', $search_array);  
+
+  $url .= '&start=' . $start;
+  $url .= '&count=' . $count;
+
+  // Add facets.
+  $valid_facets = array('location','industry','network','language','current-company','past-company','school');
+  // TODO: field selectors may be available via facests
+  $facet_array = array();
+  $included_facets = array();
+  foreach ($facets as $facet_key => $facet_value) {
+    if (in_array($facet_key, $valid_facets)) {
+      if (isset($facet_value)) {
+        $facets_array[] =  'facet=' . $facet_key . ',' . urlencode($facet_value);
+      }
+      $included_facets[]  = $facet_key;
+    }   
+  }
+  if (!empty($included_facets)) {
+    $url .= '&facets=' . implode(',', $included_facets);
+    if (!empty($facets_array)) {
+      $url .= '&' . implode('&', $facets_array);
+    }
+  }
+  
+  // Add sort.
+  $valid_sort_values = array('connections','recommenders','distance','relevance');
+  if(isset($sort) && array_search($sort, $valid_sort_values)) {
+    $url .= '&sort=' . $sort; 
+  }
+  
+  // TODO: put this into a function. 
+  global $user;
+  $signature = new OAuthSignatureMethod_HMAC_SHA1();
+  $consumer_key = variable_get('linkedin_consumer_key', '');
+  $consumer_secret = variable_get('linkedin_consumer_secret', '');
+  $consumer = new OAuthConsumer($consumer_key, $consumer_secret, NULL);
+  $row = db_fetch_array(db_query("SELECT * FROM {linkedin_token} WHERE uid = %d AND type = 'access'", $user->uid));
+  $token = new OAuthConsumer($row['token_key'], $row['token_secret'], 1);
+  $request = OAuthRequest::from_consumer_and_token($consumer, $token, "GET", $url);
+  $request->sign_request($signature, $consumer, $token);
+  $header = $request->to_header("https://api.linkedin.com"); 
+
+  $results = _linkedin_http_request($url, $header, $body = NULL);
+
+  return  _linkedin_parse_fields($results);
+
+}
\ No newline at end of file
