twitter #2
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user