if you print_r the whole twitter object, do you see your Oauth_Token_Access
in the structure?

On Thu, Jun 24, 2010 at 3:58 AM, Marcus Stöhr <[email protected]>wrote:

> Hi there.
>
> I'm using Zend_Oauth_Consumer to retrieve an access token from Twitter
> which is working fine. I instatiate Zend_Service_Twitter using the access
> token like this:
>
> $options = array(
>    'accessToken' => unserialize($userConnection->getAccessToken()),
>    'username'    => $userConnection->getId()
> );
>
> $twitter = new Zend_Service_Twitter($options);
>
> No exceptions are being thrown or such and when I try to update the status,
> I get the following response:
>
> object(Zend_Rest_Client_Result)[131
> ]
> protected '_sxml' =>
> object(SimpleXMLElement)[136
> ]
> public 'request' => string '/1/statuses/update.xml' (length=22)
> public 'error' => string 'Incorrect signature' (length=19)
> protected '_errstr' => null
>
> The isAuthorised()-method gives me true, so I assume everything worked
> fine.
>
> Any suggestions were the problems lies?
>
> - Marcus

Reply via email to