Hi I just finished coding my OAuth w/ zend framework. I retrieve my Token. The query string returned has user id,username,secret,token
I try the following
$twitter = new Zend_Service_Twitter(array(
'username' => $auth['username'],
'accessToken' => $auth['token']
));
$rsp = $twitter->status->update('My Tweet');
But I cant successfully sign in? My question is do I pass the full accessToken that contains all values? I tried that also but I still cant get an error that i did not sign in successfully
You need to pass a proper options array which includes your consumer key, secret and user’s tokens. The token must be an Oauth Token Access object.
The above should work assuming you have all the tokens required! All of these tokens are available on Twitter’s dev page in your own personal application settings.