Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andersonshatch/twit-db
Retrieve twitter timelines & store in MySQL
https://github.com/andersonshatch/twit-db
database hacktoberfest mysql php twitter
Last synced: 19 days ago
JSON representation
Retrieve twitter timelines & store in MySQL
- Host: GitHub
- URL: https://github.com/andersonshatch/twit-db
- Owner: andersonshatch
- License: mit
- Created: 2011-09-29T16:11:20.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2021-12-17T20:21:07.000Z (about 3 years ago)
- Last Synced: 2024-11-07T18:53:13.625Z (2 months ago)
- Topics: database, hacktoberfest, mysql, php, twitter
- Language: PHP
- Homepage:
- Size: 192 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### A Tool to retrieve Twitter timelines & store in MySQL [![Build Status](https://travis-ci.org/andersonshatch/twit-db.svg?branch=master)](https://travis-ci.org/andersonshatch/twit-db)
#### Requirements
- PHP version 7.0 and above
- MySQL version 5.5.3 and above(Automatically determined, only tested on the current PHP & MySQL versions)
#### Installation
Clone the repository into a web server directory and run ```git submodule update --init``` to retrieve the submodules.
Visit the directory you cloned into in a web-browser. You should be redirected to setup.php.Once you have completed the setup process, create a task to run gettweets.php at regular intervals.
(E.g. on OS X the cron task I run is ```@hourly /opt/local/bin/php /opt/local/apache2/htdocs/twitter-dev/gettweets.php --quiet``` )Then, visit the directory again where you can search through the stored tweets using index.php.
#### Search Tips
You can surround words with quotes to search for that exact combination and prefix them with ```+``` or ```-``` to ensure those words are included, or excluded as necessary.