🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.hacker
Article #13417

windows平台下修改twitterfox/Echofon默认API的方法

#13417
From: RSS Feed For GFW Blog
Date: Sat, 26 Sep 2009 06:07
30 lines
3495 bytes
作者:Shark Chaos  来源:[http://abowow.com/2009/09/modification-api-of-twitterfox-or-echofon-on-windows/][1]

   [1]: http://abowow.com/2009/09/modification-api-of-twitterfox-or-echofon-on-windows/

![echofon][2]

   [2]: http://echofon.com/img/firefox_hero.jpg (echofon)

(图片中为Mac版本)

[twitterfox(Echofon)][3]可以说是Firefox必备插件之一了,也深受很多推友喜爱,但是其本身并没有提供自定义API的选项,只能通过改*Host/翻*wall的方式才能使用,造成很多不便。为了使更多推友能使用这款插件,这里提供一个手动修改API的方法。

   [3]: https://addons.mozilla.org/zh-CN/firefox/addon/5081

找到 **C:\Documents and Settings\用户名\Application
Data\Mozilla\Firefox\Profiles\随机字符串.default\extensions\[twitternotifier@naan.net][4]\components\nsTwitterFox.js**,使用任意编辑器打开。(红色字根据实际情况替换)

   [4]: mailto:twitternotifier@naan.net

将第38行的如下代码中引号内的URL修改成其他API,比如常见的[http://nest.onedd.net/api/][5]

   [5]: http://nest.onedd.net/api/

**var TWITTER_API_URL = "[https://twitter.com/][6]";**

   [6]: https://twitter.com/

改为

**var TWITTER_API_URL = "[http://nest.onedd.net/api/][7]";**

   [7]: http://nest.onedd.net/api/

当然,如果你不喜欢这个API,也可以**[自己搭建一个API][8]**。

   [8]: http://bbs.ifanr.com/viewthread.php?tid=2046


敬请订阅我们:http://feeds2.feedburner.com/chinagfwblog,在twitter跟随我们:http://twitter.com/cdt。翻墙工具介绍和下载:http://www.sesawe.org/和http://www.sesawwe.net/。![][9]

   [9]: https://blogger.googleusercontent.com/tracker/5500297126185736776-6218425374244231700?l=www.chinagfw.org

Contentes HTML URL: http://www.chinagfw.org/2009/09/windowstwitterfoxechofonapi.html

Send By Feed RSS2eMail BOT V2.65
Admin By Liuxing99
Technical Details
Message-ID: <4abf9b42$3@news.liuxing99.3322.org>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!fu-berlin.de!www.shinco.com!news.liuxing99.3322.org!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 85629cb6ee,1718bb829c74cdd,start
X-Google-Attributes: gid85629cb6ee,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!fu-berlin.de!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:  windows平台下修改twitterfox/Echofon默认API的方法
Date: Sat, 26 Sep 2009 06:07:00 -0000
Organization: A poorly-installed InterNetNews site
Lines: 30
Message-ID: <4abf9b42$3@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 1254071133 6312 58.208.13.4 (27 Sep 2009 17:05:33 GMT)
X-Complaints-To: news@www.shinco.com
NNTP-Posting-Date: Sun, 27 Sep 2009 17:05:33 +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