Mizuha is (a simple parser of "Twitter data" zip file | automated system of repost past tweet).
https://help.twitter.com/en/managing-your-account/accessing-your-twitter-data
Twitter provides complete tweet log data, but its data orientation is so messy. MizuhaDB parses this file and dump into SQLite database file.
MizuhaDB creates tweets
table, contains columns on below:
Columns except unixtime
are just derived from Twitter data.
column name | type |
---|---|
retweeted | INTEGER |
source | TEXT |
entities | TEXT |
display_text_range | TEXT |
favorite_count | INTEGER |
id_str | TEXT |
truncated | INTEGER |
retweets_count | INTEGER |
id | INTEGER |
created_at | TEXT |
favorited | INTEGER |
full_text | TEXT |
lang | TEXT |
unixtime | INTEGER |
Mizuha is simple ruby script to repost tweet of past N-year.
Search and post tweets from MizuhaDB which same month, same day, same time on past N years.
Call Mizuha#start
to start repost.
- Twitter's developper account
- Mizuha needs access tokens for twitter account to post tweet.
- Ruby
- Twitter gem
ruby mizuha.rb init path/to/tweet.js path/to/output_filename.db
- ごめんまだこれできません 標準入力からコマンド切り分けられるようになるまでお待ち下さい
- ソースのコメント手でいじれば今でも一応使えます...
** Fill access_keys.yml
before start tweet**
ruby mizuha.rb tweet path/to/output_filename.db
- ごめんまだこれできません 標準入力からコマンド切り分けられるようになるまでお待ち下さい
- ソースのコメント手でいじれば今でも一応使えます...
- just clone
- fill
access_keys.yml
Apache 2