dimlau
V2EX  ›  PHP

丑陋的获取 Twitter 更新代码

  •  
  •   dimlau · Oct 20, 2010 · 5780 views
    This topic created in 5684 days ago, the information mentioned may be changed or developed.
    唉,只会比葫芦画瓢,系统得学学编程多好啊。



    如果可以的话,请帮忙修改……
    3 replies    1970-01-01 08:00:00 +08:00
    zzxworld
        1
    zzxworld  
       Dec 6, 2010
    用file_get_contents获取内容不太可靠,curl比较靠谱.
    disinfeqt
        2
    disinfeqt  
       Dec 6, 2010
    为什么不用 TAPP?
    https://github.com/Vayn/TAPP
    iwinux
        3
    iwinux  
       Dec 6, 2010
    https://gist.github.com/730397

    这是之前用 Clojure 写的,因为懒得写 OAuth 认证的代码,就通过 gtap 代理中转了请求,嘻嘻。当时写这段代码是打算写个 Twitter 客户端的,但只开了个头~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 02:21 · PVG 10:21 · LAX 19:21 · JFK 22:21
    ♥ Do have faith in what you're doing.