Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

retweet and like the contents of a twitter list based on keywords to reject and accept certain tweets.

NotificationsYou must be signed in to change notification settings

MSFTserver/twitter-retweet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple twitter bot, designed to retweet and like the contents of a twitter list based on keywords to reject and accept certain tweets.

Setup Your Own

  1. Install node.js & npm (if you haven't already).
  2. Download this repo withgit clone git@github.com:MSFTserver/twitter-retweet.git.
  3. in Terminal or Command Prompt, Navigate into the folder and runnpm install to download dependencies.
  4. Rename.env.example to.env, or you can actually just set them in your systems Environmental Variables and skip step 5.
  5. Open.env enter the Account Name, enter the Lists ID number (can be found in the URL), enter Reject keywords you want to EXCLUDE, also theAccept keywords on what you want the bot to INCLUDE. lastly enter the keys for your bot. If you have don't have keysCreate a twitter application HERE, grant it the necessary access, and generate your tokens/keys.
  6. run the botnpm run start.

Running the test

The test script will see if the bot can grab the member IDs from a twitter list.It will also pipe in tweets from the statuses/sample API for 30 seconds running the filter checks on the tweets and retweeting/liking.

NOTE: It is recommended to use a alternative account for testing with as it will make a lot of retweets and likes on the profile.
  1. Create a new twitter application HERE and keys to run the test as it will attempt to like and retweet from the piped in tweets.
  2. Open.env and edit the values prefixed with TEST eg.TESTLISTID=
  3. Run script withnpm run test

Credit

Twitter Retweet is written innode.js

This project was originally forked fromtwitter-listbot changing the API client totwit for more error handling and other small changes.

About

retweet and like the contents of a twitter list based on keywords to reject and accept certain tweets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp