Twitter updates
Posted: Wed Sep 29, 2010 1:19 pm
I've been able to get twitter working following the how-to on the wiki. I can post on twitter whenever something happens, however twitter checks if the message is the same as the last few and if it is, blocks the message.
I've managed to add a date to the tweets by changing line 22 in the twitter module from:
to
Which works, however I'm picky and would like to strip ms and the current date, so instead of this:
09/29/2010 12:55:22.382: test time
I would like this:
12:55:22: test time
I tried with both Main.dTime and Main.dTime_Now, they both use the same format however.
Any pointers?
I've managed to add a date to the tweets by changing line 22 in the twitter module from:
Code: Select all
hTweet = SHELL "echo '" & sMessage & "'|bti --debug" FOR READ AS "Tweet"
Code: Select all
hTweet = SHELL "echo '" & Main.dTime & ": " & sMessage & "'|bti --debug" FOR READ AS "Tweet"
09/29/2010 12:55:22.382: test time
I would like this:
12:55:22: test time
I tried with both Main.dTime and Main.dTime_Now, they both use the same format however.
Any pointers?