I need to know if I am using the following code correctly.
tweets = helpers.get_user_timeline(sys.argv, 50)
Immediately after this line of code, I check to make sure I found tweets with:
if tweets is None: sys.exit("Not a valid screen_name")
Upon running my code using several valid Twitter user names, my program exits with "Not a valid screen_name".
I am assuming that my code is not retrieving the tweets. Yes, I did remember to import helpers.