140dev Streaming API Framework
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 February.
Update Notice: The latest version (0.30) of this source code has been released on January 23, 2014. I’ve written up some notes on upgrading an installation of the previous version of this code.
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.