2009年11月5日星期四

[GFW BLOG] twitterjs 可翻墙的通用插件

修改博客的时候发现原来调用twitter的方法失效了,虽然API可以连接,但是始终无法调出数据,就把前几天找的一个js代码换上了,比原来的方法简单多了,也更稳定,还不用写loading。

下载地址:http://code.google.com/p/twitterjs/

打开src目录下的twitter.js,将http://www.twitter.com/更改为API地址,上传到网站,在网站头部插入
<script src=twitter.js"type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
getTwitters('tweet', {
id: 'acisky',
count: 1,
enableLinks: true,


--
Posted By GFW Blog to GFW BLOG at 11/05/2009 06:19:00 A
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

没有评论:

发表评论