Fixed issue with Text posts in API
This commit is contained in:
parent
9d05e55860
commit
c6ff71aec0
@ -219,6 +219,9 @@ def twitfix(sub_path):
|
|||||||
if 'quoted_status_id_str' in tweetL:
|
if 'quoted_status_id_str' in tweetL:
|
||||||
qrtURL = "https://twitter.com/i/status/" + tweetL['quoted_status_id_str']
|
qrtURL = "https://twitter.com/i/status/" + tweetL['quoted_status_id_str']
|
||||||
|
|
||||||
|
if 'possibly_sensitive' not in tweetL:
|
||||||
|
tweetL['possibly_sensitive'] = False
|
||||||
|
|
||||||
apiObject = {
|
apiObject = {
|
||||||
"text": tweetL["full_text"],
|
"text": tweetL["full_text"],
|
||||||
"likes": tweetL["favorite_count"],
|
"likes": tweetL["favorite_count"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user