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 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题
  • ¥15 Visual Studio问题