2009年9月25日星期五

[GFW BLOG] windows平台下修改twitterfox/Echofon默认API的方法

作者:Shark Chaos  来源:http://abowow.com/2009/09/modification-api-of-twitterfox-or-echofon-on-windows/

echofon

(图片中为Mac版本)

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

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

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

var TWITTER_API_URL = “https://twitter.com/“;

改为

var TWITTER_API_URL = “http://nest.onedd.net/api/“;

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




--
Posted By GFW Blog to GFW BLOG at 9/25/2009 11:07:00 P
--~--~---------~--~----~------------~-------~--~----~
1、请点击www.chinagfw.org访问我们,订阅地址:http://feeds2.feedburner.com/chinagfwblog。2、需要Psiphon2注册邀请的朋友,请向english@sesawe.net发送电子邮件请求,说明 "can I have psiphon2 access" 并告诉您所在的国家。也可以使用Twitter Direct Messages或登陆Psiphon网站直接向Psiphon索取使用邀请。3、GFW Blog现提供最新翻墙工具下载(地址一、二、三),翻墙(突破网络封锁)方法介绍请见本站anti-censorship部分。4、本站热烈欢迎各位朋友投稿或推荐文章,请发邮件至chinagfwblog[at]gmail.com。5、敬请关注、支持、参与Sesawe和黑箱监管集体诉讼。
To unsubscribe from this group, send email to
gfw-blog+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/gfw-blog?hl=zh-CN
-~----------~----~----~----~------~----~------~--~---

没有评论:

发表评论