Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

twitter

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
dezzeer
Posts: 35
Joined: Mon 23 May 2011 6:10 am
Weather Station: vantage pro2
Operating System: windows xp
Location: bb2 5jf

twitter

Post by dezzeer »

Hi all i have always uploaded to twitter but i have recently changed twitter account changed name and password in internet setup but how do i authorize twitter to let it accept data, nothing coming up in the apps section of twitter to accept or revoke access.

many thanks Darron
www.dazmather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: twitter

Post by steve »

Stop Cumulus and edit cumulus.ini. Delete the lines in the [Twitter] section which start

OauthToken=
and
OauthTokenSecret=
Steve
dezzeer
Posts: 35
Joined: Mon 23 May 2011 6:10 am
Weather Station: vantage pro2
Operating System: windows xp
Location: bb2 5jf

Re: twitter

Post by dezzeer »

do i keep the lines and just delete everything after the the = sign
OauthToken=unknown
and
OauthTokenSecret=unknown
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: twitter

Post by steve »

Well, I did say "delete the lines"...

But if you already have 'unknown' in there, deleting them won't make any difference, and you have some other issue. Turn on the debug log and after a Twitter update should have occurred, look in the diags file (not the debug log) to see if Twitter is returning an error message.
Steve
dezzeer
Posts: 35
Joined: Mon 23 May 2011 6:10 am
Weather Station: vantage pro2
Operating System: windows xp
Location: bb2 5jf

Re: twitter

Post by dezzeer »

05/10/2012 13:00:05.828 : Starting Twitter thread
05/10/2012 13:00:05.843 : TwitterOauthToken available
05/10/2012 13:00:07.421 : HTTP/1.0 401 Unauthorized
cheers this is error code it returns
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: twitter

Post by steve »

Twitter gives that error for all kinds of reasons, unfortunately. Is the time and time zone correctly set on your PC?

Having deleted the Oauth lines from cumulus.ini, do you now have a string of characters in there? Don't post them here....
Steve
dezzeer
Posts: 35
Joined: Mon 23 May 2011 6:10 am
Weather Station: vantage pro2
Operating System: windows xp
Location: bb2 5jf

Re: twitter

Post by dezzeer »

thanks steve it seems to have started working now, it was taking a long time because i also had it to uploas every 3hrs so i think it was working after i deleted the files.
thanks again Darron
Areco747
Posts: 102
Joined: Sun 05 Oct 2008 2:13 pm
Weather Station: WH-1081
Operating System: Windows XP
Location: San Antonio de Areco-Buenos Aires - Argentina
Contact:

Re: twitter

Post by Areco747 »

Hi, Twitter has stopped working? all stations stopped rising data. Regards.
Mauricio
----------------------------------------------------------------------------------------

Image


http://www.arecoclima.com.ar
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: twitter

Post by steve »

They have had "performance issues": https://dev.twitter.com/status

They seem to think it's fixed now, but mine is giving:

11/10/2012 08:00:05.195 : Twitter update error: HTTP/1.0 404 Not Found
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: twitter

Post by steve »

It appears that they have changed the API - again - and I am going to have to update Cumulus - again. :(

I hate Twitter.
Steve
Areco747
Posts: 102
Joined: Sun 05 Oct 2008 2:13 pm
Weather Station: WH-1081
Operating System: Windows XP
Location: San Antonio de Areco-Buenos Aires - Argentina
Contact:

Re: twitter

Post by Areco747 »

If so Steve I also, Thanks

https://twitter.com/arecoclima
Mauricio
----------------------------------------------------------------------------------------

Image


http://www.arecoclima.com.ar
Grumpy Moose
Posts: 61
Joined: Sat 14 Apr 2012 5:43 am
Weather Station: Davis VP2
Operating System: Win 7
Location: Anchorage, Alaska
Contact:

Re: twitter

Post by Grumpy Moose »

steve wrote:I hate Twitter.
Me too! :D

An interesting note though, I notice the other (non-Cumulus) stations I follow are still twitting. Obviously not making any criticizms or comparisons here, but is there something they are doing that could be applied to Cumulus to avoid this problem in the future?
Image
RodH
Posts: 8
Joined: Fri 07 Aug 2009 7:52 am
Weather Station: Davis VP2

Re: twitter

Post by RodH »

Morning Steve,

Like you, and others, also having the Twitter issue. I have reset 0authTokens to no avail, and get the same diagnostic as you:
Twitter update error: HTTP/1.0 404 Not Found.

Will await your thoughts, on presumably the changed API?

Thanks,
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: twitter

Post by steve »

Grumpy Moose wrote:An interesting note though, I notice the other (non-Cumulus) stations I follow are still twitting. Obviously not making any criticizms or comparisons here, but is there something they are doing that could be applied to Cumulus to avoid this problem in the future?
The change is that Twitter have removed the 'unversioned' endpoint http://api.twitter.com/statuses which Cumulus was using. Software now has to use an endpoint which specifies the version of the API they are using, i.e. I should now be using version 1 of the API, or http://api.twitter.com/1/statuses. In fact version 1 is now in the process of being removed and I need to look at moving to version 1.1, with http://api.twitter.com/1.1/statuses by March next year.

So presumably the other software was already using a 'versioned' endpoint.

As well as simply changing the endpoint, I have to look at what has changed in the protocol that affects Cumulus. Having changed to the 'version 1' endpoint, it appears to work again, except that any Tweet containing a degree symbol is rejected. I have posted on the Twitter developer forum about this; it may be that I have to change the encoding, but as far as I can tell I am doing it correctly.
Steve
gkammenos
Posts: 3
Joined: Mon 30 Jan 2012 2:24 pm
Weather Station: Fine Offset
Operating System: XP SP3
Location: Galaxidi

Re: twitter

Post by gkammenos »

Steve,
The issue with the degree symbol is not new; did not appear after API change!
br
George
Post Reply