215 | | * Hashtag harvesting |
| 215 | * Usecases: |
| 216 | * User subscribes to notifications via Twitter |
| 217 | * We send out alerts to a Hashtag |
| 218 | * Process Inbound messages to (one of) the Sahana instance's Twitter IDs |
| 219 | * Generic messages for the InBox |
| 220 | * Structured message meant for an application (create a new record or update an existing one) |
| 221 | * Hashtag Harvesting: A User wants to search public hashtag(s) for tweets of interest |
| 222 | 1. User has a UI to create a filter of which hashtags (& keywords?) they're interested in |
| 223 | 2. A real-time view is returned of the Tweets which match the filter (probably using JSON) |
| 224 | * # of matches |
| 225 | * 1st 10(-50?) records are browseable to see what they look like |
| 226 | 3. If there are too many/insufficient matches then user may refine the search & repeat until they're happy |
| 227 | 4. User saves the query to a msg_twitter_search table |
| 228 | 5. A Table is created to hold the results of the search for each record in this search table (similar to the survey module's instances) |
| 229 | 6. Cron queries Twitter & adds new records to the table as they are found |
| 230 | |