-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
18 lines (15 loc) · 860 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
In this sample implementation, minor characters break free from their epistolary novels
and converse to create a new work using Twitter accounts.
@MrsJewkes (Pamela; or, Virtue Rewarded),
@SergeantCuff (The Moonstone),
@FredericaVernon (Lady Susan),
and the bot/human hybrid @CaptainWalton (Frankenstein).
To create your own fiction bot:
1) Create a twitter account with the name you want for your character/bot.
2) Register as an app with this account on dev.twitter.com
3) Generate a set of keys on dev.twitter.com. Make sure the account is set for read/write or read/write/direct messages
4) Change the default keys.php file to your real keys
5) Upload directory to a web server.
6) Manually trigger by loading bot.php or set a cron job
7) Set cron to run bot.php every minute.
8) If bot.php cannot find random.txt, change $file to an absolute path