终于用twip搭好了一个api.如果你是墙内用户,可以参考下文将本api用于支持oAuth认证的客户端上.
Part 1:完成Twitter认证,此部分需要穿墙完成.
a.用浏览器打开api地址:~~https://www.skylast.com/t~~(由于流量限制,此链接已失效,你可以来信索取新地址).点击Sign in with twitter,你将会被链接到twitter官方网站.
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/1.jpg)
b.输入你的twitter用户名和密码,Sign in.
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/2.jpg)
c.单击allow.
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/3.jpg)
d.这一步会返回
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/4.jpg)
f.看到类似下列页面就表示认证成功了.如果显示的failed,可以单击”Show your timeline”刷新页面.
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/5.jpg)
Part2:在支持oAuth的客户端上使用该api,这里以android上的seesmic为例:
a.单击Add Twitter account.
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/seesmic_1.jpg)
b.输入twitter用户名与密码,去掉Use secure connection前的勾.
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/seesmic_2.jpg)
c.去掉页面底部的Use XAuth前面的勾,并点击Sign in.
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/seesmic_3.jpg)
d.等待片刻直到出现下面的页面即为成功.
[](https://www.skylast.com/blog/wp-content/uploads/2010/09/seesmic_4.jpg)
理论上可以用于所有支持oAuth的客户端上,例如Nokia上面的Gravity.欢迎Follow @[finale](http://twitter.com/finale)
支持oAuth的twitter api一枚