Page 1 of 2
Twitter tags
Posted: Wed 10 Mar 2010 10:55 pm
by StaffsStormSpotter
Hi
Is there a way to add Twitter #tags to the twitter upload? I would like to include tags like #wxdisplay etc.
Keep up the excellent work,
Tx
Chris
Re: Twitter tags
Posted: Wed 10 Mar 2010 11:25 pm
by steve
I don't know much about Twitter itself - are those tags just part of the message? You can create a file called twitter.txt in the Cumulus program folder, containing your own custom message - use the Cumulus web tags to get the weather data included. It will then use that file instead of the default message. Details of all the web tags are here -
http://wiki.sandaysoft.com/a/Webtags.
Re: Twitter tags
Posted: Fri 12 Mar 2010 10:35 pm
by StaffsStormSpotter
Hi Steve,
I created the following twitter.txt file in c:\program files\cumulus:
<#date> <#time> Wind <#wspeed> mph from <#bearing> Temp <#temp> <#temptrend> <#press> <#presstrendenglish> Rain <#rfall> #wxdisplay #weather
the #wxdisplay & #weather are the Twitter tags I want to use.
I have added the twitter.txt to the Process Files list and ticked process but Cumulus is still uploading the standard twitter message. Any ideas what I have done wrong?
Many thanks
Chris
Re: Twitter tags
Posted: Fri 12 Mar 2010 10:56 pm
by daj
StaffsStormSpotter wrote:I have added the twitter.txt to the Process Files list and ticked process
Hi Chris
You do not need to do this as Cumulus will do it automatically. Not sure if that will cause it to fail, but worth removing
Re: Twitter tags
Posted: Fri 12 Mar 2010 11:08 pm
by StaffsStormSpotter
Thanks for the suggestion
I have removed the process files but its still using the standard tweet
Re: Twitter tags
Posted: Fri 12 Mar 2010 11:12 pm
by StaffsStormSpotter
Sorted it. I had saved the twitter.txt file as twitter.txt.txt for some reason. Renamed and now working. Thanks for all the help
Chris
Re: Twitter tags
Posted: Fri 12 Mar 2010 11:55 pm
by JennCast
Hi, I am new here and recently started using Davis VP II and publishing to Twitter via Cumulus. I really like the simplicity yet robust features offered by Cumulus. Great work!
Chris, since you were able to successfully add hash tags to your Twitter posts, would you mind sharing the .txt file, or at least post the code here so I can take a look? I would liek to add has tags as well.
Re: Twitter tags
Posted: Sat 13 Mar 2010 11:33 am
by steve
JennCast wrote:Chris, since you were able to successfully add hash tags to your Twitter posts, would you mind sharing the .txt file, or at least post the code here so I can take a look? I would liek to add has tags as well.
I think this is the code Chris is using:
Code: Select all
<#date> <#time> Wind <#wspeed> mph from <#bearing> Temp <#temp> <#temptrend> <#press> <#presstrendenglish> Rain <#rfall> #wxdisplay #weather
Re: Twitter tags
Posted: Sat 13 Mar 2010 1:56 pm
by mmorris1
Steve I'm got my twitter set to upload to twitter every 60 min but twitter only seem to be posting sometime like 5 hour apart or when ever it feel like posting the data. Is there anyway you can take a look at the API again.
Re: Twitter tags
Posted: Sat 13 Mar 2010 2:11 pm
by steve
mmorris1 wrote:Steve I'm got my twitter set to upload to twitter every 60 min but twitter only seem to be posting sometime like 5 hour apart or when ever it feel like posting the data. Is there anyway you can take a look at the API again.
I've just looked at mine and it hasn't updated for 18 hours. It's just unreliable, I think. I've turned on my debug log to see if there are any error message - you could do the same.
I'm not sure what you mean by 'take a look at the API again'?
Re: Twitter tags
Posted: Sat 13 Mar 2010 2:34 pm
by steve
The Twitter status page (
http://status.twitter.com/) shows this from the last day or so:
High rate of site errors and general slowness
Starting a couple minutes ago twitter.com started returning a high number of errors. We are actively working on this problem.
Update (2:52p): We have greatly reduced the number of errors and are continuing to investigate the source of this afternoon’s event.
My debug log came up with this:
9901.1750 : 14:30:55 Updating Twitter
9901.1750 :
http://twitter.com/statuses/update.xml
9901.1750 : Twitter update error: HTTP component TwitterHTTP is busy
So I guess the error caused the HTTP component to get stuck. I guess a restart will fix it, I'll try that now.
Re: Twitter tags
Posted: Sat 13 Mar 2010 3:48 pm
by daj
Twitter is amazing unreliable -- I gave up on it months ago. They seem to, rightly or wrongly, start to ignore posts sent using the API when problem occurs and only process manual 'tweets'
Re: Twitter tags
Posted: Sat 13 Mar 2010 7:44 pm
by mmorris1
Ok twitter was working fine for several 60min updates but as soon as I Minimized cumulus I started getting this in the log file
1512.62828 : 12:46:47 PM Updating Twitter
1512.62828 :
http://twitter.com/statuses/update.xml
1512.63047 : Creating web graphs
1512.64609 : 12:46:49 PM Twitter Response Code: 403 Response = <?xml version="1.0" encoding="UTF-8"?>
<hash>
<request>/statuses/update.xml</request>
<error>Status is over 140 characters.</error>
</hash>
Ok I'm still getting the above error and I restarted the program and have it max on the screen. After the restart I change the update time to every 15 min also I'm using Ver.. 1.8.9 Build 924
Update alright I went into the twitter.txt file and shortened up some text, so Cumulus is now sending to twitter again. I thought that when the twitter.txt file output went over 140 characters that it used to just cut off the end and would post only the 140 characters. Maybe I was wrong in my thinking or something changed. Going to Min cumulus and see what happens.
Re: Twitter tags
Posted: Sat 13 Mar 2010 9:03 pm
by steve
mmorris1 wrote:<error>Status is over 140 characters.</error>
Are you using the default message or a twitter.txt file?
Re: Twitter tags
Posted: Sat 13 Mar 2010 9:08 pm
by mmorris1
steve wrote:mmorris1 wrote:<error>Status is over 140 characters.</error>
Are you using the default message or a twitter.txt file?
Sorry Steve I edited my last message above your so take a look.