dimlau
V2EX  ›  PHP

丑陋的获取 Twitter 更新代码

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



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

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