/**
  * @param string $returnUrl
  *
  * @return string
  */
 public function getLoginUrl($returnUrl)
 {
     $config = array('consumerKey' => $this->consumerKey, 'consumerSecret' => $this->consumerSecret, 'callbackUrl' => $returnUrl, 'siteUrl' => 'https://api.twitter.com/oauth', 'authorizeUrl' => 'https://api.twitter.com/oauth/authenticate');
     $httpClientOptions = array('adapter' => 'Zend\\Http\\Client\\Adapter\\Curl', 'curloptions' => array(CURLOPT_SSL_VERIFYHOST => false, CURLOPT_SSL_VERIFYPEER => false));
     $consumer = new Consumer($config);
     $consumer->setHttpClient($consumer->getHttpClient()->setOptions($httpClientOptions));
     $token = $consumer->getRequestToken();
     $tw_session = new Container('twitter');
     $tw_session->offsetSet('request_token', serialize($token));
     return $consumer->getRedirectUrl();
 }