Wednesday, September 10, 2008

Bug

So, every once in a while I am trying to add new features/fix bugs to the Near Dear widget. I recently upgraded the keypad to have more characters, and made the status text bigger. The little logo on every screen is now a button that will take you right back to the first screen (where you can see your friends updates.)

Today, I found a strange bug....if any twitter status has an "&", all the text (users and their details) after that disappears. I am guessing the problem is with php handling the "&" symbol. I get the names and statuses of an authenticated user from twitter as a json string, decode it in a php script and send it as a single string to flash with a delimiter (~end) at the end of each user's details. Flash does the rest of the string manipulation. In this program, flash is not receiving any characters after the first "&."
Still trying to find a fix.

No comments: