ice framework documentation ice doc v1.10.1
Methods
  • __construct(variable $config) : void
    Twitter adapter constructor.
  • getSocialPage() : void
    Get user social id or null if it is not set.
  • getImage() : void
    Get url of user"s avatar or null if it is not set.
  • authenticate() : void
    Authenticate and return bool result of authentication.
  • Prepare params for authentication url.
  • prepareUrlParams(string $url, variable $params, string $oauthToken, string $type) : void
    Prepare url-params with signature.
Methods Details
  • 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.