Dangerous Prototypes

Other projects => Past projects => #twatch network LCD backpack => Topic started by: ian on September 12, 2009, 08:44:23 am

Title: Twitter JSON datafeed updates
Post by: ian on September 12, 2009, 08:44:23 am
In an amazing coincidence, Twitter changed the JSON datafeeds the #twatch uses to grab the latest trending topics and tweets on the same night that we launched. They didn't actually make significant changes, but they tweaked the order of variables in a way that confused the #twatch.

{"text":"

The original search parser looked for the complete tag shown above, then slurped up the tweet text. Thursday night, Twitter moved the '{' away from the "text" tag and added some new variables.

"text":"

We updated the firmware to look for the bare minimum tag shown above. This tag is safer anyways, and won't be effected by future variable order updates. We upgraded our #twatch and it worked fine, the updated firmware will be included in the #twatches shipped by Seeed Studio.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00902049504session_write_close ( )...(null):0
20.00932181096ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00932181872Database_MySQL->query( ).../DatabaseHandler.php:119
40.05292320600Database_MySQL->error( ).../Db-mysql.class.php:273