When I tried to use twitter API with Python and used twython, unretweet was not implemented. So an example of using an internal implementation.
from twython import Twython
twitter = Twython(APP_KEY, APP_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
# twitter.unretweet(id=ID)There is no
twitter.post('statuses/unretweet/%s' % ID)
After that, refer to Twitter's API reference.
Recommended Posts