twitter post response fix 2

This commit is contained in:
Łukasz Jędyk 2022-01-24 23:35:43 +01:00
parent 7eeff9bd4c
commit 6679436a9e

View File

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