twitter post response fix 3

This commit is contained in:
Łukasz Jędyk 2022-01-24 23:42:20 +01:00
parent 6679436a9e
commit ac7e7a44e0

View File

@ -52,10 +52,7 @@ def add_twitter_account():
response = oauth.post(
"https://api.twitter.com/2/tweets",
json={"text": generated_content},
)
print(response)
print(response.json())
).json()['data']
# save campaign to database
new_twitter_campaign = TwitterCampaign(