Skip to content

Commit e8c87af

Browse files
author
Stefan Kremser
committed
Example keys for bot
1 parent f673e58 commit e8c87af

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

twitter_bot/example_keys.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
consumer_key = ""
2+
consumer_secret = ""
3+
4+
access_token = "-"
5+
access_token_secret = ""
6+
7+
#path = "/path/to/generator/"

twitter_bot/tweet.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import tweepy
2-
from keys import *
3-
from urllib.request import urlopen
42
import json
53

4+
path = "../generator/"
5+
6+
from keys import *
7+
68
import sys
79
sys.path.append(path)
810
import hackergenerator

0 commit comments

Comments
 (0)