Location: PHPKode > projects > Agile Toolkit > atk4-atk4-addons-efc6814/misc/lib/Controller/SNI/LinkedIn.php
<?php
class Controller_SNI_LinkedIn extends Controller_SNI {
    protected $baseurl = "http://api.linkedin.com/v1/";
    protected $oauth; //oauth object
    function setOAuth($oauth){
        $this->oauth = $oauth;
    }
    function getUserProfile(){
        $url = $this->baseurl . "people/~";
        return $this->oauth->performLinkedInRequest($url, null, true);
    }
}
Return current item: Agile Toolkit