REST/LinkedInClientService.php
public function getUserUpdate(Activity $activity, NewsItem $newsItem)
    {
        //LinkedIn API seems broken, re-enable when it works again.
        //return [];

        return $this->connect->request(
            'GET',
            'people/~/network/updates/key='.$newsItem->getUpdateKey(),
            [
                'query' => [
                    'format' => 'json',
                ]
            ]
        );
    }
public function getUserUpdate(Activity $activity, NewsItem $newsItem)
    {
        //LinkedIn API seems broken, re-enable when it works again.
        //return [];

        return $this->connect->request(
            'GET',
            'people/~/network/updates/key='.$newsItem->getUpdateKey(),
            [
                'query' => [
                    'format' => 'json',
                ]
            ]
        );
    }
public function getUserUpdate ( Activity $ activity , NewsItem $ newsItem ) { //LinkedIn API seems broken, re-enable when it works again. //return []; return $ this -> connect -> request ( 'GET' , 'people/~/network/updates/key=' . $ newsItem -> getUpdateKey ( ) , [ 'query' => [ 'format' => 'json' , ] ] ) ; }
Get a user update statistics

@param Activity $activity
@param NewsItem $newsItem
@return array
Get a user update statistics