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 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿