#2193·tweepy

'Client' object has no attribute 'rewteet'

Author: cwnmediaCreated Jul 8, 2024Updated Jan 2, 2026
LabelsUnconfirmed Bug

Summary

Trying to use api.rewteet(tweet_id) and getting 'Client' object has no attribute 'rewteet' error

Reproduction Steps

We are running tweepy latest stable version and using the following code but are getting this error 'Client' object has no attribute 'rewteet'.

Is retweet apart of tweepy any more? Was it taken out? What are we doing wrong?

Minimal Reproducible Example

python
authenticator = tweepy.OAuthHandler(consumer_key, consumer_secret)
authenticator.set_access_token(oauth_token, oauth_token_secret)

api = tweepy.Client(authenticator, wait_on_rate_limit=True)
            
results = api.rewteet(tweet_id)

Expected Results

We expected it to retweet the tweet.

Actual Results

Received this error "'Client' object has no attribute 'rewteet'"

Twitter API Access Plan

Basic

Tweepy Version

4.14.0

Checklist

  • I have searched for duplicate issues.
  • If applicable, I have shown the entire traceback.
  • If applicable, I have removed any visible credentials from my code and/or screenshots.

Additional Context

No response