开发者

Twitter API - how to create new tweets

开发者 https://www.devze.com 2023-01-28 17:35 出处:网络
I would like to post new tweets on my twitter account via API. How is it possible via Zend Framework Zend_Service_Twitter class?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号