twitdao——A web based twitter client on Google App Engine.

2010年11月15日 | 分类: 关于推特 | 标签: , ,

Twitdao

详细介绍

我的中文名叫 “ 推倒 ”,英文名字叫“ Twitdao ~ ~ ”

详细:http://www.v2ex.com/t/4212

安装步骤

申请一个Google App Engine 账号

申请成功后,你将拥有这样一个域名: application-id.appspot.com 。

申请一个 Twitter app

去这个地址申请一个twitter app: https://twitter.com/apps/new

注意三点:

  • Application Type 必须为 Browser
  • Default Access type 必须为 Read & Write
  • Use Twitter for login 必须选中 √

其他选项随意。

上传Twitdao

参见其他基于 GAE 的应用程序。如:gtap、GAppProxy 等。

等待创建索引(Index)

如果此时访问 application-id.appspot.com 时出现 NeedIndexError ,这说明数据索引尚未准备好,必须耐心等待一段时间再试。

这个过程大概要等几十秒钟到几十分钟甚至几小时几天不等,时间一般不会太长。这取决于Google App Engine 当时的性能。

当访问 application-id.appspot.com 看不到 NeedIndexError 时,说明索引已经建成。可以进行下一步了。

修改hosts

(如果你没有墙,这一步可忽略)

找一个 .appspot.com 的 IP,修改hosts文件,将application-id.appspot.com 指向这个IP。

例:74.125.53.141 application-id.appspot.com

配置 Twitdao

用管理员账号(就是用于上传Twitdao的那个账号)登陆,然后访问 httpS://application-id.appspot.com/app_config

按照刚刚申请到的 twitter app 返回的内容,填写 Consumer Key 和 Consumer Secret ,注意前后不能多出空格。

完成安装

访问 application-id.appspot.com/settings , 点击 Authorize a new access token. 通过验证,即可使用。

项目主页http://code.google.com/p/twitdao/

  1. 匿名
    2010年11月16日08:54

    不知道是什么