Fix misc embed issues with QRTs
This commit is contained in:
1 parent
56f42744b9
commit
0c6e760b72
1 file changed
+2
@@ -487,6 +487,8 @@ def link_to_vnf_from_tweet_data(tweet,video_link):
|
||||
qrtURL = None
|
||||
if 'quoted_status_permalink' in tweet:
|
||||
qrtURL = tweet['quoted_status_permalink']['expanded']
|
||||
elif 'quoted_status_id_str' in tweet:
|
||||
qrtURL = "https://twitter.com/i/status/" + tweet['quoted_status_id_str']
|
||||
|
||||
text = tweet['full_text']
|
||||
|
||||
|
||||
Reference in new issue
Block a user