1

I am using tweepy for communicating with the twitter API using python.

I am trying to get a users latest tweet using api.user_timeline(id = user_id, exclude_replies=True, count = 1)[0]

But sometimes this returns 0 tweets and sometimes it works thats why I don't know what could be the problem.

Why does this happen?

0 Answers0