Google App Engine,Twitter API Proxy,Mixero搭建Twi2tt图解
以前用Twitter都是通过代理访问网页或者使用第三方网站,今天安装了一个桌面客户端──Mixero,使用Google App Engine架设了一个Twitter API代理,就可以在桌面上随时看推发推了。网上一些假设教程不大准确或已过期,这里记录一下自己的操作过程。这些操作都
以前用Twitter都是通过代理访问网页或者使用第三方网站,今天安装了一个桌面客户端──Mixero,使用Google App Engine架设了一个Twitter API代理,就可以在桌面上随时看推发推了。网上一些假设教程不大准确或已过期,这里记录一下自己的操作过程。这些操作都是在MacOS下进行的,在Windows和Linux下也都类似。
Mixero
Mixero是一个优秀的Twitter客户端,基于Adobe Air,支持各种操作系统,并且有中文版本。
由于众所周知的原因,Mixero必须通过代理才能与Twitter连线,下面的繁琐的步骤都是拜GFW所赐,Let's Fuck Them!
架设Twitter API Proxy服务
Twitter API Proxy即Twitter API代理,通过代理使用Twitter API,可以实现Twitter的绝大部分功能。我们使用一个基于Google App Engine的开源项目birdnest来假设代理服务。
1. 申请和创建Google App Engine项目
用Gmail帐号登录Google App Engine,通过手机验证后,点击“Create an Applacation”,根据提示创建一个应用。
2. 下载Google App Engine SDK
通过SDK,我们可以方便的修改、测试和上传GAE项目。下载地址为:code.google.com/p/googleappengine/downloads/list,选择适合你操作系统的SDK并安装。启动后应该是这个样子:
3. 下载和修改birdnest
birdnest的代码发布在Google code上,使用SVN检出代码,嫌麻烦的可以直接下载我打包的文件,解压到一个目录,可以跳到下一步了。
检出代码有两点需要注意:
1. 需要检出branches/gae目录下的代码
2. 目前最新的r102版本code.py有问题,需要检出r97版本
在终端下的操作代码为:
建立目录并检出代码: [bash]# mkdir birdnest
svn checkout birdnest.googlecode.com/svn/branches/gae birdnest/
svn up -r 97 birdnest/code.py
[/bash]4. 修改上传项目
打开birdnest目录,修改app.yaml文件,将第一行的nest改为你申请到的GAE项目ID。
打开刚才安装的GAE SDK,选择file-Add Existing Applacation,即导入存在的项目文件,选择刚才的birdnest目录。导入项目后,点击Deploy,填入Google帐号密码后,SDK就会将项目文件同步到GAE服务器。
5. 设置Mixero
现在需要做的工作就基本完成了,打开 http://你的ID.appspot.com/api/ 就应该看到了Twitter页面,如果不是,那就是有问题了。。
打开Mixero,填入帐号密码,点击右上角的齿轮,打开选项设置,在Twitter API一项中,填入上面的地址:
保存,刷新,就可以使用了。
以上就是Google App Engine,Twitter API Proxy,Mixero搭建Twi2tt图解的内容,更多相关内容请关注PHP中文网(www.php.cn)!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Currently, four new Pixel smartphones are anticipated to land this autumn. To recap, the series is rumoured to feature thePixel 9 and Pixel 9 Pro at launch. However, the Pixel 9 Pro will be a rival to the iPhone 16 Pro rather than a Pixel 8 Pro (curr

Google has introduced DisplayPort Alternate Mode with the Pixel 8 series, and it's present on the newly launched Pixel 9 lineup. While it's mainly there to let you mirror the smartphone display with a connected screen, you can also use it for desktop

Google AI has started to provide developers with access to extended context windows and cost-saving features, starting with the Gemini 1.5 Pro large language model (LLM). Previously available through a waitlist, the full 2 million token context windo

Google recently responded to the performance concerns about the Tensor G4 of the Pixel 9 line. The company said that the SoC wasn't designed to beat benchmarks. Instead, the team focused on making it perform well in the areas where Google wants the c

Google's AI assistant, Gemini, is set to become even more capable, if the APK teardown of the latest update (v15.29.34.29 beta) is to be considered. The tech behemoth's new AI assistant could reportedly get several new extensions. These extensions wi

The Pixel 9 series is almost here, having been scheduled for an August 13 release. Based on recent rumours, the Pixel 9, Pixel 9 Pro and Pixel 9 Pro XL will mirror the Pixel 8 and Pixel 8 Pro (curr. $749 on Amazon) by starting with 128 GB of storage.

A few months have passed since Android Authority demonstrated a new Android desktop mode that Google had hidden away within Android 14 QPR3 Beta 2.1. Arriving hot on the heels of Google adding DisplayPort Alt Mode support for the Pixel 8 and Pixel 8

More promotional materials relating to the Pixel 9 series have leaked online. For reference, the new leak arrived shortly after 91mobiles shared multiple images that also showcased the Pixel Buds Pro 2 and Pixel Watch 3 or Pixel Watch 3 XL. This time
