python - How to use from parameter in search api of Tweepy -


i using tweepy python library fetching data twitter. want tweet user1 tweeted user3 containing word1, word2, #hashtext1 etc.

query = "word1 word2 #hashtext1" max_tweets = 10 searched_tweets = [status status in tweepy.cursor(api.search, q=query, from='user2' to='user2').items(max_tweets)] 

the problem facing not able use from in function keyword in python. when removed from parameter query works fine.

i have looked source code of tweepy here. says valid parameter.

please help.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -