-
Twitter adapter constructor.
-
getSocialPage() : voidGet user social id or null if it is not set.
-
getImage() : voidGet url of user"s avatar or null if it is not set.
-
authenticate() : voidAuthenticate and return bool result of authentication.
-
prepareAuthParams() : voidPrepare params for authentication url.
-
Prepare url-params with signature.
-
public function __construct(variable $config)
Twitter adapter constructor. -
public function getSocialPage()
Get user social id or null if it is not set. -
public function getImage()
Get url of user"s avatar or null if it is not set. -
public function authenticate()
Authenticate and return bool result of authentication. -
public function prepareAuthParams()
Prepare params for authentication url. -
private function prepareUrlParams(string $url, variable $params, string $oauthToken, string $type)
Prepare url-params with signature.