This commit is contained in:
parent
59c278b3dc
commit
c32332d07c
|
@ -144,6 +144,8 @@ def refresh_posts(posts):
|
||||||
return posts
|
return posts
|
||||||
|
|
||||||
t = get_twitter_for_acc(posts[0].author)
|
t = get_twitter_for_acc(posts[0].author)
|
||||||
|
if not t:
|
||||||
|
raise Exception('shit idk. twitter says no')
|
||||||
tweets = t.statuses.lookup(_id=",".join((post.twitter_id for post in posts)),
|
tweets = t.statuses.lookup(_id=",".join((post.twitter_id for post in posts)),
|
||||||
trim_user = True, tweet_mode = 'extended')
|
trim_user = True, tweet_mode = 'extended')
|
||||||
refreshed_posts = list()
|
refreshed_posts = list()
|
||||||
|
|
Loading…
Reference in New Issue