title: Zend_Service_Twitter and Twitter API 1.1 (ZF 1.12.3)
body: <p>I've upgraded to Zend Framework v1.12.3 because it supports the TwitterAPI v1.1 with Zend_Service_Twitter. Before, I've used the TwitterAPI 1.0 (prior ZF 1.12.3) which works well, but that's gonna <a href="https://dev.twitter.com/blog/changes-coming-to-twitter-api" rel="nofollow noreferrer">change in march 2013</a>.</p>
  
  <p>If I call the TwitterAPI v1.1 with the following ZF 1.12.3 code, I keep getting a strange error which I can't explain to myself:</p>
  
  <p>Code:</p>
  
  <pre><code>     $twitterService = new Zend_Service_Twitter(array(
              'consumerKey'    =&gt; $this-&gt;config['consumerKey'],
              'consumerSecret' =&gt; $this-&gt;config['consumerSecret'],
              'username'       =&gt; $twitterVO-&gt;getTwitterUserName(),
              'accessToken'    =&gt; $accessToken // unserialized object
  ));
  
   $response = $twitterService-&gt;statusesUpdate("TEST");
  </code></pre>
  
  <p>And that's the error which I get. It doesn't matter which function I call (in this case it's statusesUpdate("Test")):</p>
  
  <p><img src="https://i.stack.imgur.com/FRU41.png" alt="enter image description here"></p>
  
  <p>The message is "Invalid chunk size "" unable to read chunked body". The "type" attribute within the array shows a "->". That's also a bit suspect but I couldn't find out where it comes from.</p>
  
  <p>Does anyone have a working example with Zend Framework 1.12.3?</p>