GetOldTweets-python: Open-source "module" bypassing limitations of Twitter API

in steemhunt •  3 months ago

GetOldTweets-python

Python "module" bypassing limitations of Twitter API


Screenshots

Selection_999(336).jpg

Selection_999(337).jpg
View Image
Selection_999(338).jpg
View Image

Hunter's comment

This one saved me during writing my thesis. I've been successfully using it for several months now. It allows to search tweets by following parameters and also to get tweets older than 2 weeks:

  • setUsername (str): An optional specific username from a twitter account. Without "@".
  • setSince (str. "yyyy-mm-dd"): A lower bound date to restrict search.
  • setUntil (str. "yyyy-mm-dd"): An upper bound date to restrist search.
  • setQuerySearch (str): A query text to be matched.
  • setTopTweets (bool): If True only the Top Tweets will be retrieved.
  • setNear(str): A reference location area from where tweets were generated.
  • setWithin (str): A distance radius from "near" location (e.g. 15mi).
  • setMaxTweets (int): The maximum number of tweets to be retrieved. If this number is unsetted or lower than 1 all possible tweets will be retrieved.

My thesis analyses sentiment over several years and Twitter Official API doesn't provide Tweets older than 2 wees. This is a GEM!!


Link

https://github.com/Jefferson-Henrique/GetOldTweets-python


Contributors

Hunter: @matkodurko



Steemhunt.com

This is posted on Steemhunt - A place where you can dig products and earn STEEM.
View on Steemhunt.com

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi @matkodurko,

Thanks for your hunt. I’ve reviewed and approved it. The hunt is on.

PS: you may like TweetNest as well.

·

Hah thx :) The description of the product says that it's only for your own tweets tho...but might be just misleading description tho, anyway thx for reviewing and pointing out alternative :)

Wow..awesome This.new technology so so helpfull for people.I will shure search this about this product .thank you so much for your this Amazng and great one hunt...keep it up

Hello! Your post has been resteemed and upvoted by @ilovecoding because we love coding! Keep up good work! Consider upvoting this comment to support the @ilovecoding and increase your future rewards! ^_^ Steem On!

Reply !stop to disable the comment. Thanks!

Congratulations @matkodurko! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Hi @matkodurko!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 2.665 which ranks you at #13696 across all Steem accounts.
Your rank has improved 32 places in the last three days (old rank 13728).

In our last Algorithmic Curation Round, consisting of 361 contributions, your post is ranked at #218.

Evaluation of your UA score:
  • Only a few people are following you, try to convince more people with good work.
  • You have already convinced some users to vote for your post, keep trying!
  • You have already shown user engagement, try to improve it further.

Feel free to join our @steem-ua Discord server