Z
Z
Zubchick2010-11-14 23:10:57
Python
Zubchick, 2010-11-14 23:10:57

Get all replies for a tweet

I need to get all the replays for a specific tweet, as the web client on twitter.com

does. I write in python, but I have already looked at all the ready-made solutions and there is no necessary functionality there. Example .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zubchick, 2010-11-16
@Zubchick

Just in case anyone else needs it :)

import tweepy
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(user_key, user_secret)
api = tweepy.API(auth)
m = api.mentions()
for metion in m:
    print mention.in_reply_to_status_id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question