Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tombh/tweetfactory
Helps you archive and manage large Twitter search queries
https://github.com/tombh/tweetfactory
Last synced: 11 days ago
JSON representation
Helps you archive and manage large Twitter search queries
- Host: GitHub
- URL: https://github.com/tombh/tweetfactory
- Owner: tombh
- Created: 2011-05-20T17:09:10.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-20T17:24:45.000Z (over 13 years ago)
- Last Synced: 2024-04-14T13:55:35.482Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
/**
* TWITTER FACTORY
*
* Searches twitter for multiple search terms and stores them in a database.
*
* See record_tweets.php and JSON_tweets.php for usage examples
*
* You'll want to attach this to a cron job.
*
* Here's the MySQL table structure it uses...
*
* CREATE TABLE IF NOT EXISTS `tweets` (
* `id` bigint(20) NOT NULL,
* `published` varchar(100) NOT NULL,
* `content` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
* `handle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
* `avatar` varchar(500) DEFAULT NULL,
* `parsed` varchar(10) DEFAULT NULL,
* PRIMARY KEY (`id`)
* ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
*
* Make sure to change the variables in the db() method to connect to your database!
*
* Written by @twombh
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see
*/