Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lagleki/schedule-post-to-twitter
post to twitter every X seconds
https://github.com/lagleki/schedule-post-to-twitter
schedule twitter twitter-bot
Last synced: 15 days ago
JSON representation
post to twitter every X seconds
- Host: GitHub
- URL: https://github.com/lagleki/schedule-post-to-twitter
- Owner: lagleki
- Created: 2017-02-04T14:25:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-04T14:38:45.000Z (almost 8 years ago)
- Last Synced: 2024-10-31T13:46:08.377Z (2 months ago)
- Topics: schedule, twitter, twitter-bot
- Language: Python
- Homepage: http://jbotcan.org/lojban/en/SWH_confirmed.html
- Size: 1000 Bytes
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Get keys and tokens to your Twitter account and save them to key.txt separating by newline and in this order:
```
ckey
csecret
atoken
asecret
```To start using messages from in.txt and posting them to Twitter and saving them to out.txt:
```
python post.py key.txt in.txt out.txt
```Make sure in.txt is never empty or the script won't be able to post anything. In case in.txt is empty just add new lines to it.
To purge your Twitter account add the fourth argument (can be any value):
```
python post.py key.txt in.txt out.txt 1
```