I've been struggling with incorporating Twitter into my project. It will tweet only once, and always spits out an error from the TwitterLibrary. I tried implementing the solution from this post: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1268620065/3, but honestly I'm not satisfied with it. It tweets a random number at the end of each post, so each is unique. Its not desirable for it to post the random number and it still doesn't work entirely. My code has two conditionals: tweet one message given one condition is satisfied and tweet another message if the other is satisfied. Both messages tweet successfully (regardless of the code errors from the TwitterLibrary), but the same message can't be tweeted consecutively, they must alternate in order to be tweeted.
Here is my code: http://www.paulnshapiro.com/files/arduino/knocker_twitter_fix_combined.pde
I'm hoping someone can a) fix the code that includes the random number in the tweets so it can post the same message consecutively, and/or b) give me an alternate solution to the problem without the random numbers. I would be satisfied with either, with a preference for the latter.
a pre-mature thank you to anyone who helps,
Paul