Spaces:
Runtime error
Runtime error
Commit
·
b6fe3fd
1
Parent(s):
8934b10
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 = 1605089422533218304 # 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,
|