@@ -14,16 +14,37 @@ changed to do the actual twitter post in python using `Tweepy` because the oauth
1414![ get_dev_tokens] ( http://g.recordit.co/VlZUSa77T2.gif )
1515https://www.slickremix.com/docs/how-to-get-api-keys-and-tokens-for-twitter/
1616
17- 2 . Run ` bash start_tweeting.sh ` to execute the script
1817
19- 3 . Supply the information when prompted.
20- - The path to the repository you want to tweet commits for
21- - The twitter api consumer key
22- - The twitter api consumer secret
23- - The twitter api access token
24- - The twitter api access token secret
18+ 2 . Fill out the ` .profiles.ini ` file with as many different twitter account keys as you would like.
19+
20+ ```
21+ [default]
22+ CONSUMER_KEY=your_key
23+ CONSUMER_SECRET=my_secret_key
24+ ACCESS_TOKEN=my_token
25+ ACCESS_TOKEN_SECRET=my_secret_token
26+
27+ [kevindurantactual]
28+ CONSUMER_KEY=your_key
29+ CONSUMER_SECRET=my_secret_key
30+ ACCESS_TOKEN=my_token
31+ ACCESS_TOKEN_SECRET=my_secret_token
32+
33+ [kevindurantfanacct]
34+ CONSUMER_KEY=your_key
35+ CONSUMER_SECRET=my_secret_key
36+ ACCESS_TOKEN=my_token
37+ ACCESS_TOKEN_SECRET=my_secret_token
38+ ```
39+
40+ 2 . run ` pip install -r requirements.txt ` to install dependencies (its just ` tweepy ` and ` configparser ` ),
41+
42+ 3 . Run ` python start_tweeting.py default ` to tweet from the account associated with the keys listed under ` default ` in ` .profiles.ini `
43+
44+ 4 . When prompted select the folder of the repository you are interested in tweeting out commits for.
45+
46+ 5 . Watch as all your fake friends unfollow you.
2547
26- 4 . Install dependency (its just ` tweepy ` ), run ` pip install -r requirements.txt `
2748
2849--------------------------------------------------------------------------
2950
0 commit comments