140dev Streaming API Framework
Update Notice: The streaming API changed its behavior on April 22, breaking all the copies of the Phirehose library I have in use with this framework. Thankfully, a patched version of Phirehose was posted within a few hours. If you are running any copies of the 140dev framework, you need to replace your current copy of Phirehose.php with the latest patched version. If you are running the framework code, you will find your current copy of Phirehose.php in the /libraries/phirehose folder.
Update Notice: I’m working on the next release (0.40) now. The new code is in a series of blog posts starting here. It is scheduled for release by the end of April.
All of the interaction between the modules in this framework are through the database, which means that additional modules can be written in any language that has a MySQL interface. The flexibility and potential for expansion is the reason for calling it a framework. Other programmers can freely add modules in any language, all of which can cooperate and coexist in a single installation.
Please contact Adam () if you want to become a contributor to this open source project. You can discuss any problems you have with this code in its Google Group.
This is the core module of the 140dev streaming API framework. It uses the Twitter API to gather tweets for selected keywords and stores them in a MySQL database. The rest of the libraries are built as plugins that share information with this database server.
This 140dev plugin displays a formatted list of tweets on any Web page with a single line of PHP code. The plugin calls your copy of the Twitter database server, retrieves the most recent tweets, and returns them as formatted HTML. All tweet entities are rendered as links.