twitter post response fix 2
This commit is contained in:
parent
7eeff9bd4c
commit
6679436a9e
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user