smappPy
smappPy copied to clipboard
from smappPy.get_tweets import query_tweets, user_tweets
Hey guys, I am relatively new to Python. I got the methods from query_tweets, user_tweets to start, but both return an error For query_tweets the error is related to the search attribute: cursor = Cursor(api.search, q=query, include_entities=True, lang=languages, AttributeError: 'OAuthHandler' object has no attribute 'search'
For query_tweets the error is related to the user_timeline attribute: cursor = Cursor(api.user_timeline, user_id=user_id, count=200, AttributeError: 'OAuthHandler' object has no attribute 'user_timeline'
Can you help me with these issues?