src/Gelembjuk/Auth/SocialLogin/Twitter.php
public function getUserProfile() {
		$connection = new TwitterOAuth($this->options['consumer_key'],$this->options['consumer_secret'], 
			$this->access_token['oauth_token'], $this->access_token['oauth_token_secret']);
		$connection->setTimeouts(10, 15);
		$user = $connection->get("account/verify_credentials");
		
		return array(
			'userid'=>$user->id,
			'name'=>$user->screen_name,
			'imageurl'=>$user->profile_image_url);
	}
public function getUserProfile() {
		$connection = new TwitterOAuth($this->options['consumer_key'],$this->options['consumer_secret'], 
			$this->access_token['oauth_token'], $this->access_token['oauth_token_secret']);
		$connection->setTimeouts(10, 15);
		$user = $connection->get("account/verify_credentials");
		
		return array(
			'userid'=>$user->id,
			'name'=>$user->screen_name,
			'imageurl'=>$user->profile_image_url);
	}
public function getUserProfile ( ) { $ connection = new TwitterOAuth ( $ this -> options [ 'consumer_key' ] , $ this -> options [ 'consumer_secret' ] , $ this -> access_token [ 'oauth_token' ] , $ this -> access_token [ 'oauth_token_secret' ] ) ; $ connection -> setTimeouts ( 10 , 15 ) ; $ user = $ connection -> get ( "account/verify_credentials" ) ; return array ( 'userid' => $ user -> id , 'name' => $ user -> screen_name , 'imageurl' => $ user -> profile_image_url ) ; }
Returns short twitter profile after succes login

@return array User Profile
Returns short twitter profile after succes login