V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
dimlau
V2EX  ›  PHP

丑陋的获取 Twitter 更新代码

  •  
  •   dimlau · 2010-10-20 18:50:24 +08:00 · 5070 次点击
    这是一个创建于 4909 天前的主题,其中的信息可能已经有所发展或是发生改变。
    唉,只会比葫芦画瓢,系统得学学编程多好啊。



    如果可以的话,请帮忙修改……
    3 条回复    1970-01-01 08:00:00 +08:00
    zzxworld
        1
    zzxworld  
       2010-12-06 22:29:31 +08:00
    用file_get_contents获取内容不太可靠,curl比较靠谱.
    disinfeqt
        2
    disinfeqt  
       2010-12-06 22:33:07 +08:00
    为什么不用 TAPP?
    https://github.com/Vayn/TAPP
    iwinux
        3
    iwinux  
       2010-12-06 22:55:03 +08:00
    https://gist.github.com/730397

    这是之前用 Clojure 写的,因为懒得写 OAuth 认证的代码,就通过 gtap 代理中转了请求,嘻嘻。当时写这段代码是打算写个 Twitter 客户端的,但只开了个头~
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2850 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 11:44 · PVG 19:44 · LAX 04:44 · JFK 07:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.