protected function getUserImage(array $response, AccessToken $token)
    {
        $guid = $token->getResourceOwnerId();

        $url = 'https://social.yahooapis.com/v1/user/' . $guid . '/profile/image/' . $this->imageSize . '?format=json';

        $request = $this->getAuthenticatedRequest('get', $url, $token);

        $response = $this->getResponse($request);

        return $response;
    }
protected function getUserImage(array $response, AccessToken $token)
    {
        $guid = $token->getResourceOwnerId();

        $url = 'https://social.yahooapis.com/v1/user/' . $guid . '/profile/image/' . $this->imageSize . '?format=json';

        $request = $this->getAuthenticatedRequest('get', $url, $token);

        $response = $this->getResponse($request);

        return $response;
    }
protected function getUserImage ( array $ response , AccessToken $ token ) { $ guid = $ token -> getResourceOwnerId ( ) ; $ url = 'https://social.yahooapis.com/v1/user/' . $ guid . '/profile/image/' . $ this -> imageSize . '?format=json' ; $ request = $ this -> getAuthenticatedRequest ( 'get' , $ url , $ token ) ; $ response = $ this -> getResponse ( $ request ) ; return $ response ; }
Get user image from provider

@param  array $response
@param  AccessToken $token

@return array
Get user image from provider