title: Twitter OAUTH error curl related
body: <p>I am using symfony2 and HWIOAuthBundle</p>
  
  <p>When I am trying to login with twitter id by OAUTH</p>
  
  <p>these error log appeared.</p>
  
  <p>with google account I can login normally.</p>
  
  <p>I am not sure what happens </p>
  
  <p>Does anyone give me a hint?</p>
  
  <pre><code>The requested URL returned error: 403
  
  
  in /Users/whitebear/httproot/twittest/vendor/kriswallsmith/buzz/lib/Buzz/Client/Curl.php at line 29   -
              $errorMsg = curl_error($this-&gt;lastCurl);
              $errorNo  = curl_errno($this-&gt;lastCurl);
              throw new ClientException($errorMsg, $errorNo);
          }
          static::populateResponse($this-&gt;lastCurl, $data, $response);
  at Curl -&gt;send (object(Request), object(Response)) 
  
  in /Users/whitebear/httproot/twittest/vendor/hwi/oauth-bundle/HWI/Bundle/OAuthBundle/OAuth/ResourceOwner/AbstractResourceOwner.php at line 237   + 
  at AbstractResourceOwner -&gt;httpRequest ('http://api.twitter.com/1.1/account/verify_credentials.json', null, array('Authorization: OAuth realm="", oauth_consumer_key="GqoHwIFiNP089GUN3KXWA", oauth_timestamp="1389732011", oauth_nonce="ea571baabf373ef2570933df8d4ef23b", oauth_version="1.0", oauth_signature_method="HMAC-SHA1", oauth_token="446279034-t1mwrxA9NjQdcqhNdQDruJVdtoJ4RlzcW1z24Kxz", oauth_signature="rYj43MDpu5m49JDEOjD92zDodmo%3D"'), null) 
  in /Users/whitebear/httproot/twittest/vendor/hwi/oauth-bundle/HWI/Bundle/OAuthBundle/OAuth/ResourceOwner/GenericOAuth1ResourceOwner.php at line 192   + 
  at GenericOAuth1ResourceOwner -&gt;httpRequest ('http://api.twitter.com/1.1/account/verify_credentials.json', null, array('oauth_consumer_key' =&gt; 'GqoHwIFiNP089GUN3KXWA', 'oauth_timestamp' =&gt; '1389732011', 'oauth_nonce' =&gt; 'ea571baabf373ef2570933df8d4ef23b', 'oauth_version' =&gt; '1.0', 'oauth_signature_method' =&gt; 'HMAC-SHA1', 'oauth_token' =&gt; '446279034-t1mwrxA9NjQdcqhNdQDruJVdtoJ4RlzcW1z24Kxz', 'oauth_signature' =&gt; 'rYj43MDpu5m49JDEOjD92zDodmo=')) 
  in /Users/whitebear/httproot/twittest/vendor/hwi/oauth-bundle/HWI/Bundle/OAuthBundle/OAuth/ResourceOwner/GenericOAuth1ResourceOwner.php at line 208   + 
  at GenericOAuth1ResourceOwner -&gt;doGetUserInformationRequest ('http://api.twitter.com/1.1/account/verify_credentials.json', array('oauth_consumer_key' =&gt; 'GqoHwIFiNP089GUN3KXWA', 'oauth_timestamp' =&gt; '1389732011', 'oauth_nonce' =&gt; 'ea571baabf373ef2570933df8d4ef23b', 'oauth_version' =&gt; '1.0', 'oauth_signature_method' =&gt; 'HMAC-SHA1', 'oauth_token' =&gt; '446279034-t1mwrxA9NjQdcqhNdQDruJVdtoJ4RlzcW1z24Kxz', 'oauth_signature' =&gt; 'rYj43MDpu5m49JDEOjD92zDodmo=')) 
  in /Users/whitebear/httproot/twittest/vendor/hwi/oauth-bundle/HWI/Bundle/OAuthBundle/OAuth/ResourceOwner/GenericOAuth1ResourceOwner.php at line 52   + 
  at GenericOAuth1ResourceOwner -&gt;getUserInformation (array('oauth_token' =&gt; '446279034-t1mwrxA9NjQdcqhNdQDruJVdtoJ4RlzcW1z24Kxz', 'oauth_token_secret' =&gt; 'rVlo3UVInjQcdtcxEQfebpohxzsq3FcV3SSzTPdXrU', 'user_id' =&gt; '446279034', 'screen_name' =&gt; 'nandemobest10')) 
  in /Users/whitebear/httproot/twittest/vendor/hwi/oauth-bundle/HWI/Bundle/OAuthBundle/Security/Core/Authentication/Provider/OAuthProvider.php at line 73   + 
  at OAuthProvider -&gt;authenticate (object(OAuthToken)) 
  in kernel.root_dir/cache/dev/classes.php at line 4256   + 
  at AuthenticationProviderManager -&gt;authenticate (object(OAuthToken)) 
  in /Users/whitebear/httproot/twittest/vendor/hwi/oauth-bundle/HWI/Bundle/OAuthBundle/Security/Http/Firewall/OAuthListener.php at line 97  + 
  at OAuthListener -&gt;attemptAuthentication (object(Request)) 
  in /Users/whitebear/httproot/twittest/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php at line 137   + 
  at AbstractAuthenticationListener -&gt;handle (object(GetResponseEvent)) 
  in kernel.root_dir/cache/dev/classes.php at line 4133   + 
  at Firewall -&gt;onKernelRequest (object(GetResponseEvent)) 
  at call_user_func (array(object(Firewall), 'onKernelRequest'), object(GetResponseEvent)) 
  in /Users/whitebear/httproot/twittest/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 451   + 
  at TraceableEventDispatcher -&gt;Symfony\Component\HttpKernel\Debug\{closure} (object(GetResponseEvent)) 
  at call_user_func (object(Closure), object(GetResponseEvent)) 
  in kernel.root_dir/cache/dev/classes.php at line 3473   + 
  at EventDispatcher -&gt;doDispatch (array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent)) 
  in kernel.root_dir/cache/dev/classes.php at line 3406   + 
  at EventDispatcher -&gt;dispatch ('kernel.request', object(GetResponseEvent)) 
  in kernel.root_dir/cache/dev/classes.php at line 3570   + 
  at ContainerAwareEventDispatcher -&gt;dispatch ('kernel.request', object(GetResponseEvent)) 
  in /Users/whitebear/httproot/twittest/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 139   + 
  at TraceableEventDispatcher -&gt;dispatch ('kernel.request', object(GetResponseEvent)) 
  in kernel.root_dir/bootstrap.php.cache at line 991   + 
  at HttpKernel -&gt;handleRaw (object(Request), '1') 
  in kernel.root_dir/bootstrap.php.cache at line 976   + 
  at HttpKernel -&gt;handle (object(Request), '1', true) 
  in kernel.root_dir/bootstrap.php.cache at line 1101   + 
  at ContainerAwareHttpKernel -&gt;handle (object(Request), '1', true) 
  in kernel.root_dir/bootstrap.php.cache at line 411   + 
  at Kernel -&gt;handle (object(Request)) 
  in /Users/whitebear/httproot/twittest/web/app_dev.php at line 26
  </code></pre>