twitter #2

Merged
s434708 merged 50 commits from twitter into master 2022-06-09 19:42:33 +02:00
Showing only changes of commit ac7e7a44e0 - Show all commits

View File

@ -52,10 +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()['data']
print(response)
print(response.json())
# save campaign to database # save campaign to database
new_twitter_campaign = TwitterCampaign( new_twitter_campaign = TwitterCampaign(