Spaces:
Runtime error
Runtime error
Commit
·
2d2a52d
1
Parent(s):
e420a09
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def translate(bearer_token,api_key,secret_api_key,access_token,secret_access_tok
|
|
56 |
|
57 |
#loops endlessly(60 sec interval) and checks,translates,and posts tweets
|
58 |
# use this to get user id https://tweeterid.com/
|
59 |
-
latest_tweet_id =
|
60 |
while True:
|
61 |
# Get the first 20 tweets on the home timeline
|
62 |
tweets = api.get_home_timeline(max_results=12,
|
|
|
56 |
|
57 |
#loops endlessly(60 sec interval) and checks,translates,and posts tweets
|
58 |
# use this to get user id https://tweeterid.com/
|
59 |
+
latest_tweet_id = 1604906630918705152 # change this if error or restart
|
60 |
while True:
|
61 |
# Get the first 20 tweets on the home timeline
|
62 |
tweets = api.get_home_timeline(max_results=12,
|