dongpou7275 2010-07-27 23:55
浏览 362
已采纳

Twitter禁用基本身份验证 - 这是什么意思?

According to apiwiki.twitter.com: "Basic authentication removal is going to occur on August 16, 2010" and their OAuth API will be the new method of authentication.

I'm new to the Twitter API and I'm very unclear as to what this applies to. I'm trying to create a simple app to post to Twitter via a HTML form - do I have to use the OAuth system? Or is the OAuth system just for apps (as implied by http://dev.twitter.com/).

If I have to use it, then why the lack of official libraries and code samples from Twitter (for PHP all I see are links to inactive open source projects)?

Does this mean that any twitter app/widget that isn't updated by August 16th will cease to work?

What is wrong with authenticating via HTTPS and POST requests?

  • 写回答

4条回答 默认 最新

  • dragonfly9527 2010-09-10 13:32
    关注

    There is a very useful OAuth library for PHP (oauth.googlecode.com/svn/code/php/) which takes care of the complicated stuff. Also have a look at code.42dh.com/oauth/ for simple examples on how to use OAuth. It helped me far more than dev.twitter.com which is nice for reference but lacks examples (for now).

    I used OAuth.php (among others) to create http://twitter2rss.com/ in just about 2 evenings.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题