Article View: cn.comp.hacker
Article #13429让twhirl用上twip代理的方法(转自我的posterous)
From: RSS Feed For GFW Blog
Date: Sun, 27 Sep 2009 04:40
Date: Sun, 27 Sep 2009 04:40
36 lines
4066 bytes
4066 bytes
来源:[http://lastsung.heliohost.org/archives/198][1] [1]: http://lastsung.heliohost.org/archives/198 首先,感谢[@yegle][2]的twip代理程序,有了它,twitter就死不了了,因为可以在任何支持php的主机上建立代理相比只能搭建在appsot上的birdnest,范围要广,可以说是不死鸟。 [2]: http://twitter.com/yegle 如何搭建twip就不说了,很简单,找个主机,在根目录下面建立个文件夹,放进去,就能用。 这里要说说twhirl如何用[twip][3]做代理 [3]: http://code.google.com/p/twip/ 一直以来,我都是用[birdnest][4]的 [nest.onedd.net][5]来代理的 [4]: http://code.google.com/p/birdnest/ [5]: http://nest.onedd.net 每次试图用twip都失败,在@yegle的提醒下,我去看了日志 发现一个特点,那就是twhirl会在你使用的那个代理地址后面自动添加/api/ 这就是为什么,在使用birdnest的时候,填[nest.onedd.net][6] 就可以了,反而不能填 [nest.onedd.net/api/][7] [6]: http://nest.onedd.net [7]: http://nest.onedd.net/api/ 但是twip程序不是通过[yourdomain.com/twip/api/][8]的方式运行。这就是每次添加都失败的原因 [8]: http://yourdomain.com/twip/api/ 知道原因之后,就有办法了,方法如下 1. 在主机的跟目录新建一个文件夹,名字叫api,比如 [cattyhouse.co.cc/api/][9] 2. 将twip程序的所有文件,上传到这个文件夹下面 3. 经过步骤2,访问[cattyhouse.co.cc/api/][9] 就应该可以看到twip在运行中 4. 打开twhirl,添加新帐号,账户类型选择laconica,后面填 [twitterusername@cattyhouse.co.cc][10] (注意,这里不带/api/) [9]: http://cattyhouse.co.cc/api/ [10]: mailto:twitterusername@cattyhouse.co.cc 这么设置之后的账户就能通过twip代理登陆twitter了,一切运行正常,以上1,4两点非常重要,看标记为红色的地方。 敬请订阅我们:http://feeds2.feedburner.com/chinagfwblog,在twitter跟随我们:http://twitter.com/cdt。翻墙工具介绍和下载:http://www.sesawe.org/和http://www.sesawwe.net/。![][11] [11]: https://blogger.googleusercontent.com/tracker/5500297126185736776-7438054720736438044?l=www.chinagfw.org Contentes HTML URL: http://www.chinagfw.org/2009/09/twhirltwipposterous.html Send By Feed RSS2eMail BOT V2.65 Admin By Liuxing99
Technical Details
Message-ID:
<4abf9b44$1@news.liuxing99.3322.org>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!news.telesweet.net!news.shec6.edu.cn!www.shinco.com!news.liuxing99.3322.org!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 85629cb6ee,d4864e27de82565d,start X-Google-Attributes: gid85629cb6ee,public,usenet X-Google-NewGroupId: yes X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!news.telesweet.net!news.shec6.edu.cn!www.shinco.com!news.liuxing99.3322.org!not-for-mail From: RSS Feed For GFW Blog <gfwblog-list@szb66.vicp.net> Newsgroups: cn.comp.hacker Subject: 让twhirl用上twip代理的方法(转自我的posterous) Date: Sun, 27 Sep 2009 04:40:00 -0000 Organization: A poorly-installed InterNetNews site Lines: 36 Message-ID: <4abf9b44$1@news.liuxing99.3322.org> NNTP-Posting-Host: 58.208.13.4 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 X-Trace: www.shinco.com 1254071146 6312 58.208.13.4 (27 Sep 2009 17:05:46 GMT) X-Complaints-To: news@www.shinco.com NNTP-Posting-Date: Sun, 27 Sep 2009 17:05:46 +0000 (UTC) Received-Path: <gfwblog-list@szb66.vicp.net> X-Posted-On: news.liuxing99.3322.org User-Agent: Feed RSS2eMail BOT V2.65 X-Gateway-Administrator: bianlule@bianlule.3322.org X-Gateway-From: dnews-gateway@news.liuxing99.3322.org