Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yasulab/SimpleTwitterBot
Gather tweets including 'search_term' on Twitter, and re-tweet it. This bot runs on Google App Engine. The following twitter account shows a sample bot run on Google App Engine.
https://github.com/yasulab/SimpleTwitterBot
Last synced: 3 days ago
JSON representation
Gather tweets including 'search_term' on Twitter, and re-tweet it. This bot runs on Google App Engine. The following twitter account shows a sample bot run on Google App Engine.
- Host: GitHub
- URL: https://github.com/yasulab/SimpleTwitterBot
- Owner: yasulab
- Created: 2010-06-28T07:13:43.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2013-05-09T05:47:32.000Z (over 11 years ago)
- Last Synced: 2024-11-09T04:12:25.199Z (5 days ago)
- Language: Python
- Homepage:
- Size: 426 KB
- Stars: 34
- Watchers: 5
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Abstract
This bot runs in the following ways.
1. Search tweets using `search_term` in Twitter.
2. Re-tweet the tweets.
In this example, `search_term` is `Cafe Miyama`,
and you can see how it behaves by checking the following account.http://twitter.com/cafemiyamabot
## How to setup
1. Register your OAuth client on Twitter
URL: http://twitter.com/oauth_clients
NOTE: You MUST change permission settings to `Read & Write` if you wanna update via API. The default is `Read Only`.2. Run `python register_pin.py` and use `CONSUMER_KEY` and `CONSUMER_SECRET` you got from the registeration.
NOTE: Make sure you are now signing in Twitter as your Bot account when visiting a given URL.3. Change setting variables (`CONSUMER_KEY` and `CONSUMER_SECRET`) in `main.py` to the given ones.
4. Run Google App Engine dev_server and visit the following URL
URL: http://localhost:8080/cron/update
* If you finish all of your setting, set `debug_flag` in `main.py` off.5. Done!
Enjoy developing your own twitter bot!
YasuLab
[email protected]