i have a problem with tweepy update_status()

Viewed 32

Hello here is my error https://i.stack.imgur.com/UpSjW.png and here my code `api = tweepy.API(auth,wait_on_rate_limit=True)

print("connecté")

ethprice = requests.get("https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd")

price = ethprice.json()

ethusd = price['ethereum']['usd'] print(ethusd)

message1="the current #ETH price is " + str(ethusd) + " usd"

while True: api.update_status(status ="the current #ETH price is " + str(ethusd) + " usd")

print('Le tweet a été posté')

time.sleep(120)

`

(first time using stackoverflow)

0 Answers
Related