REST/LinkedInClientService.php
public function getCompanyUpdate(Activity $activity, NewsItem $newsItem)
    {
        $id = $activity->getLocation()->getIdentifier();

        return $this->connect->request(
            'GET',
            'companies/'.$id.'/updates/key='.$newsItem->getUpdateKey(),
            [
                'query' => [
                    'format' => 'json',
                ]
            ]
        );
    }
public function getCompanyUpdate(Activity $activity, NewsItem $newsItem)
    {
        $id = $activity->getLocation()->getIdentifier();

        return $this->connect->request(
            'GET',
            'companies/'.$id.'/updates/key='.$newsItem->getUpdateKey(),
            [
                'query' => [
                    'format' => 'json',
                ]
            ]
        );
    }
public function getCompanyUpdate ( Activity $ activity , NewsItem $ newsItem ) { $ id = $ activity -> getLocation ( ) -> getIdentifier ( ) ; return $ this -> connect -> request ( 'GET' , 'companies/' . $ id . '/updates/key=' . $ newsItem -> getUpdateKey ( ) , [ 'query' => [ 'format' => 'json' , ] ] ) ; }
Get a company update statistics

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