Add a standalone daemon for scrapping twitters search api.

evoltech - September 6, 2009 - 23:16
Project:Tapatio
Version:5.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:9/21
Description

There is no penalty for using twitters search api. Since this is the case we can be a bit more proactive about trying to get the tweets into the system asap. We could leverage the code already wrtitten for drush, and the php api we are currently using, and just loop on pulling all tweets from our following users.

This feature will obviously go hand in hand with the js polling feature to refresh comms views looking for new content.

#1

evoltech - September 12, 2009 - 01:08

I am making slow progress on this. Checked the code into the repo on the dev branch for people to take a look at while I am working on it. As of right now this doesn't work at all and am still trying to figure out how to hook into drupal mostly using drush as an example.

#2

evoltech - September 19, 2009 - 05:37

I kind of can't believe this thing is actually working. It is amazing what you can do with drupal_bootstrap, like getting access to the whole drupal system from a script. Anyhow this daemon is a Frankenstein, I will be posting nearly completed code in a few hours.

#3

evoltech - September 26, 2009 - 02:32

Maybe this should be written in ruby. There is a new protocol being worked on by twitter right now called tweetstream. There is a ruby library written that has built in daemonization.

 
 

Drupal is a registered trademark of Dries Buytaert.