/**
  * Get a user update statistics
  *
  * @param Activity $activity
  * @param NewsItem $newsItem
  * @return array
  */
 public function getUserUpdate(Activity $activity, NewsItem $newsItem)
 {
     //LinkedIn API seems broken, re-enable when it works again.
     //return [];
     $request = $this->connect->get('people/~/network/updates/key=' . $newsItem->getUpdateKey(), [], ['query' => ['format' => 'json']]);
     try {
         return $request->send()->json();
     } catch (\Exception $e) {
         throw new ExternalApiException($e->getMessage(), $e->getCode(), $e);
     }
 }