Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antoinemcgrath/users-specific_topical_retweeter
This script will fetch tweets from a list of specific twitter accounts and check to see if the tweet contains keywords that are of interest before retweeting.
https://github.com/antoinemcgrath/users-specific_topical_retweeter
Last synced: 3 months ago
JSON representation
This script will fetch tweets from a list of specific twitter accounts and check to see if the tweet contains keywords that are of interest before retweeting.
- Host: GitHub
- URL: https://github.com/antoinemcgrath/users-specific_topical_retweeter
- Owner: antoinemcgrath
- Created: 2016-10-23T09:11:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T00:01:37.000Z (over 6 years ago)
- Last Synced: 2024-07-27T06:35:26.917Z (4 months ago)
- Language: Python
- Size: 7.53 MB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# users-specific_topical_retweeter
This script will fetch tweets from a list of specific twitter accounts and check to see if the tweet contains keywords that are of interest before retweeting.AS PROPOSED BY THE BRAIN OF Gennie https://github.com/gegebhart
Running this script requires that you have a twitter account, Twitter API keys/access and a list of users to follow. For instructions on this view file Getting_Started.txt
Once the Getting_Started.txt insturctions are followed you will be able to execute the scrypt in terminal.
The arguments are:
python3 get_tweets.py list_of_twitter_accounts.txtFor example:
python3 ~/.GITS/users-specific_topical_retweeter/get_tweets.py ~/.GITS/users-specific_topical_retweeter/representatives_twitter_accounts.txtWill cause your API associate twitter account to start retweeting.
A list of tweets scanned (and retweeted if positive for your keywords) will be appended to tweet_id_cachelist.txt this list will prevent the script from rescanning and retweeting those tweets the next time you run the script.THANK YOU Sunglight Foundation and Sunlight labs for the seed list of congressmembers twitter accounts: http://politwoops.sunlightfoundation.com/
It was used to start the list representatives_twitter_accounts.txt additional campagin accounts and congressional candidate accounts have been added to the list.