-
Notifications
You must be signed in to change notification settings - Fork 11
Using TweetYourMEP for your own campaign
Alberto Cottica edited this page Feb 26, 2017
·
6 revisions
You can pre-load TweetYourMEP with your own favourite message, then reach out to people and ask them to quickly and easily tweet it to their MEPs from their own account. This is done by changing just two lines of code.
- After installation, use an editor to open the
config.js
file. - Go to line 19, and insert your pre-loaded tweet in the variable
twitter_texts
. The syntax of the line should betwitter_texts: ["Your tweet goes here"],
- Go to line 21, and insert your hashtag in the variable
twitter_hashtags
. The syntax of the line should betwitter_hashtags: ["Your hashtag"],
Please note that simply inserting the hashtag in the tweet's text will generate an error.
For further customization, you can change the content of the "About" page by editing the about.ejs
file. The text starts at line 80.