Page 1 of 2

Twitter only randomly updating

Posted: Sun 15 Sep 2013 4:49 pm
by The PIT
I've noticed that for some reason twitter is only updating at random intervals. It should upload every ten minutes but this seems to have stopped. I've enabled debug mode but there hasn't been an attempt to upload in thirty odd minutes or it's not logging the attempts.

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 5:29 pm
by steve
When you turn on debug, Twitter uploads are logged to the diags file. Mine's been tweeting every 30 minutes as usual, so it's likely an issue somewhere between your PC and Twitter.

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 5:56 pm
by The PIT
Can't see how as nothing has changed. Weather underground is uploading that's shown in the log but nothing relating to twitter as far as I can see.
Now twitter has just updated but I can't see it the logfile. I'm wondering if I've hit the update limit as I have more than one program uploading.

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 6:07 pm
by steve
The PIT wrote:Now twitter has just updated but I can't see it the logfile.
When you turn on debug, Twitter uploads are logged to the diags file.

How do you know that nothing has changed between you and Twitter? This is the internet, it changes all the time. Servers and routers have problems from time to time.

I think you're allowed 1000 tweets per day via the API, but there are also limits over shorter periods, and I don't know what they are. Theoretically there are limits on the number of automated tweets you can make compared to 'manual' tweets, but they don't seem to police that currently. The day they start doing that is going to be the end of tweeting from Cumulus for a lot of people.

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 6:16 pm
by The PIT
A bit more info I'm getting this error

15/09/2013 19:00:01.528 : Twitter URL: http://api.twitter.com/1.1/statuses/update.json
15/09/2013 19:00:01.528 : Param: lat=53.0666666666667&lon=-1.08333333333333&status=Wind%209.6%20mph%20W.%20Barometer%20997.40%20mb%2C%20Rising.%20Temperature%2011.8%20%C2%B0C.%20Rain%20today%202.2%20mm.%20Humidity%2074%25
15/09/2013 19:00:01.528 : Base string: POST&http%3A%2F%2Fapi.twitter.com%2F1.1%2Fstatuses%2Fupdate.json&lat%3D53.0666666666667%26lon%3D-1.08333333333333%26oauth_consumer_key%3DlQiGNdtlYUJ4wS3d7souPw%26oauth_nonce%3D2984B89B79B73785BDB4BED729247BA8%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1379268001%26oauth_token%3D1469599741-BQML8iSVN7BFWpLV3QswXGLwi1EN47mST9f7UiA%26oauth_version%3D1.0%26status%3DWind%25209.6%2520mph%2520W.%2520Barometer%2520997.40%2520mb%252C%2520Rising.%2520Temperature%252011.8%2520%25C2%25B0C.%2520Rain%2520today%25202.2%2520mm.%2520Humidity%252074%2525
15/09/2013 19:00:01.876 : Twitter update error: HTTP/1.0 403 Forbidden
15/09/2013 19:00:01.876 : Twitter Response:
15/09/2013 19:00:01.876 : Twitter thread exit
15/09/2013 19:01:00.598 : New monthly record, month = 9: 2013-09-15 19:01 225.265 "High daily windrun" 2013-09-15 19:00 225.105

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 6:23 pm
by steve
403 can be returned for a number of reasons, but one reason is that you have exceeded a limit on number of tweets for a particular period.

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 6:26 pm
by The PIT
Yeh two probably a twitter problem more than anything.

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 6:50 pm
by The PIT
steve wrote:
The PIT wrote:Now twitter has just updated but I can't see it the logfile.

I think you're allowed 1000 tweets per day via the API, but there are also limits over shorter periods, and I don't know what they are. Theoretically there are limits on the number of automated tweets you can make compared to 'manual' tweets, but they don't seem to police that currently. The day they start doing that is going to be the end of tweeting from Cumulus for a lot of people.


Perhaps they have started doing that.

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 7:26 pm
by The PIT
Well turned it off for the night. Looks like I'll keep hitting the limit for some reason so I'll let it reset overnight.

Re: Twitter only randomly updating

Posted: Sun 15 Sep 2013 7:45 pm
by steve
Apparently the limits (apart from the 1000 per day upper threshold) are split into varying periods of time during the day, with varying limits, and they deliberately don't say what those are.

Re: Twitter only randomly updating

Posted: Mon 16 Sep 2013 6:40 am
by The PIT
well looks like I'm limited to three tweets an hour.

Re: Twitter only randomly updating

Posted: Mon 16 Sep 2013 8:17 am
by The PIT
ah well looks like it's permanently partly broken. Twitter doesn't support third party apps so I'm a bit stuck.

Re: Twitter only randomly updating

Posted: Mon 16 Sep 2013 8:23 am
by steve
I'll turn mine up to every 10 minutes to see what happens. When you say you have "more than one program updating" do you mean multiple copies of Cumulus, or other software entirely? How often are you trying to update, altogether?

Is it possible that your data isn't changing between some updates? Twitter rejects duplicate updates.

Re: Twitter only randomly updating

Posted: Mon 16 Sep 2013 8:36 am
by The PIT
I've got two apps Lightning 2000 now turned off and Cumulus which I now have set to set at 60 minutes. The data should be changing I can't see any reason why not.
I've revoked access and allowed it to reset but still get 403 forbidden that was an hour ago. I can post directly onto twitter.

Re: Twitter only randomly updating

Posted: Mon 16 Sep 2013 11:33 am
by The PIT
Looks like cumulus is limited to one tweet per hour. Looks like the change occurred on the 14th.
I re-activated lightning 2000 which does do direct messaging which cumulus doesn't. However that only tweets if there's lightning around which there isn't very much off at the moment.