fix twitter post response
This commit is contained in:
parent
9af91e3760
commit
7eeff9bd4c
@ -52,7 +52,7 @@ def add_twitter_account():
|
|||||||
response = oauth.post(
|
response = oauth.post(
|
||||||
"https://api.twitter.com/2/tweets",
|
"https://api.twitter.com/2/tweets",
|
||||||
json={"text": generated_content},
|
json={"text": generated_content},
|
||||||
)
|
).json()
|
||||||
|
|
||||||
# save campaign to database
|
# save campaign to database
|
||||||
new_twitter_campaign = TwitterCampaign(
|
new_twitter_campaign = TwitterCampaign(
|
||||||
|
Loading…
Reference in New Issue
Block a user