-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
28 lines (24 loc) · 831 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// get these values from the twitter developer console
// https://developer.twitter.com/en/apply-for-access
var credentials= {
consumerKey: 'Your Secret Goes Here',
consumerSecret: 'Your Secret Goes Here',
accessToken: 'Your Secret Goes Here',
accessTokenSecret: 'Your Secret Goes Here',
};
var credentials2= {
consumerKey: 'Your Secret Goes Here',
consumerSecret: 'Your Secret Goes Here',
accessToken: 'Your Secret Goes Here',
accessTokenSecret: 'Your Secret Goes Here',
};
var credArray= [];
credArray[0]= credentials;
credArray[1]= credentials2;
userID = '123456789' // twitter user id of who to bless with your bot activity
for(var i=0; i<credArray.length; i++){
var cp = require('child_process');
var child = cp.fork('./child');
credArray[i].userID = userID
child.send(credArray[i]);
}