dongyangzhi0687 2011-06-02 19:39
浏览 63
已采纳

自动发布用户上传推文(在我的网站上)

I have a website where users can upload tracks.

When upload finished I would like to automatically tweet it using the Twitter account of the website.

And I would also like to enable the user (optionally) to tweet it using his/her account simultaneously.

Another thing I would like to do is tweet the track with the most votes every week.

On the Twitter page there are some API wrappers / libraries for PHP.

http://dev.twitter.com/pages/libraries#php

Any idea what library matches my requirements best?

Or if all match my requirements which one would be the easiest to implement?

Another question (the answer doesn't have to include this, but I'm just curious) why are there 5 different libraries?

EDIT

Or don't I have to use a library and just write the CURL calls myself?

  • 写回答

1条回答 默认 最新

  • doujiao0110 2011-06-02 21:24
    关注

    I think Zend_Service_Twitter is a nice client, and there are other opinions here.

    To do what you want, you really only need to have a client that 1) supports authentication, and 2) can send a status update via the statuses/update API method.

    One nice thing about status updates is that they are not rate limited, so you can have quite a high volume of outgoing tweets from your site.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 ue5 .3之前好好的现在只要是激活关卡就会崩溃
  • ¥50 MATLAB实现圆柱体容器内球形颗粒堆积
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥15 python爬取bilibili校园招聘网站
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题
  • ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?