Twitter API - how to create new tweets
I would like to post new tweets on my twitter account via API.
How is it possible via Zend Framework Zend_Service_Twitter class?
Or through clean p开发者_开发技巧hp?
Thanks ;)
From the documentation:
$twitter = new Zend_Service_Twitter(array(
'username' => 'johndoe',
'accessToken' => $token
));
$response = $twitter->status->update('My Great Tweet');
http://framework.zend.com/manual/en/zend.service.twitter.html
精彩评论