开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜