I have a list of the specific status ids of tweets that I need to obtain. The tweepy documentation provides the following:
API.get_status(id)
Returns a single status specified by the ID parameter.
Parameters: id – The numerical ID of the status.
Return type: Status object
I can't work out how to use this or find any examples. Is this even the right thing?
My list of ids is 2240 items long and looks something like this:
response_ids = [717289507981107201, 717289501337509888, ..., 716684885411237888]
These ids were obtained from the 'in_response_to_status_id' field of tweets that I already have (I want to match the tweets I have to the tweets that they were written in response to).
I basically want to write something like
for id in response_ids:
tweet = API.get_status(id)
Any help on how to do this, or advice about whether this is possible, much appreciated.