neojato / T-Hawk

Simple Twitter bot that auto likes and retweets based on a configured hashtag.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Good job

khaldonno opened this issue · comments

Really it's good job
but how can modify it to get only latest tweets and like it

thank u

Hi @khaldonno -

By default the script returns the latest tweets. If you are seeing the script grab historical tweets, then you can use the SINCE_TWITTER_ID property from the array of tweets so that it will only show tweets newer than the selected id.

If you only want to like and not retweet, comment out line 49.