fixed bug double tweets on FE
This commit is contained in:
@@ -58,12 +58,12 @@ class twitter_api:
|
||||
@staticmethod
|
||||
def get_more_tweets(twitter_id):
|
||||
|
||||
last_six = api.GetUserTimeline(screen_name='waecmg4', count=6, exclude_replies=True, include_rts=False,
|
||||
last_six = api.GetUserTimeline(screen_name='waecmg4', count=7, exclude_replies=True, include_rts=False,
|
||||
max_id=twitter_id)
|
||||
|
||||
response = []
|
||||
|
||||
for tweet in last_six:
|
||||
for tweet in last_six[1:]:
|
||||
print(tweet)
|
||||
|
||||
parsed_date = datetime.strptime(tweet.created_at, "%a %b %d %H:%M:%S +0000 %Y")
|
||||
|
||||
Reference in New Issue
Block a user