Trixology

WeatherCat => WeatherCat General Discussion => Topic started by: faymondo on June 13, 2013, 02:57:32 PM

Title: Twitter updates
Post by: faymondo on June 13, 2013, 02:57:32 PM
For some reason my hourly Twitter updates are not making Twitter from around Tuesday night.

The tweets are showing as sent on growl vis the WC Twitter uploader but are not making it onto Twitter.

I have just D/L WC 1.15 and running OSX 10.8.4.

This might have occurred around the same time I updated to 10.8.4.

Any ideas how to get the tweets working again ? Just over 5000 followers and I want to keep then happy.

Cheers for any replies
Title: Re: Twitter updates
Post by: Steve on June 13, 2013, 05:04:08 PM
 Mine did too. I saw a tweet from one of the twitter integrated apps that their tweets stopped due to an API change from Twitter. Way to ruin a nice tool for a gazillion users just so they can control what is sent out...
Title: Re: Twitter updates
Post by: faymondo on June 13, 2013, 05:54:16 PM
From what I can gather it is to do with V1 API at Twitter (don't ask me what that is) somebody has suggested going back to OSX 10.8.3 but I want to avoid messing around if I can.

Hopefully somebody on here will come up with a fix.
Title: Re: Twitter updates
Post by: Steve on June 13, 2013, 07:44:46 PM
I changed to 10.8.4 the day it was released, and my Twitter feed didn't stop until about this time yesterday, so I don'tthink the OS update did it.

This is what Tapbot ( the developers of Tweetbot) posted yesterday:

Quote
Twitter shut off an old version of their API yesterday, if you are running an old version of Tweetbot and having problems, please update.
Title: Re: Twitter updates
Post by: faymondo on June 13, 2013, 09:08:54 PM
Oh well hopefully somebody on here will come up with something to keep my @liverpoolweath Twitter account going.
Title: Re: Twitter updates
Post by: Steve on June 13, 2013, 10:06:23 PM
Here's a link to get oAuth working again in Edouard's Apple script if you have the coding knowledge. I know he's too tied up with other problems to look at it now. It is all Greek to me!

http://romage.wordpress.com/2013/06/13/twitter-oauth/
Title: JA Computing library broken. (Re: Twitter updates)
Post by: elagache on June 13, 2013, 10:26:11 PM
Here is a copy of my posting in the AppleScripts thread:

My tweets stop showing on Twitter on June 11th. Somebody has suggested it's because Twitter has ended the V1 API. Can anybody provide an update on this ?

My AppleScripts use a library from J.A. Computing to actually interact with Twitter:

http://www.jacomputing.net/ (http://www.jacomputing.net/)

The versions of the AppleScript libraries were out of date in my AppleScripts.  However, I just updated them and still no automated Twit is posted.  I fear that your suspicion is correct and the J.A. Computing libraries are using V-1 of the Twitter API.  Since my AppleScript is completely dependent on that library - there is nothing I can do.  Sorry, we'll just have to wait and see if J.A. Computing can come up with version of their library that works with the Twitter current API.

Sorry gang.  :(

Cheers, Edouard
Title: Re: Twitter updates
Post by: saratogaWX on June 13, 2013, 11:29:44 PM
Twitter has discontinued the V1.0 REST API on 11-June-2013.  Sigh.

The main thing to do to get it working again with the scripts are to make the following changes:

New URL: https://api.twitter.com/1.1/statuses/update.json instead of the old URL: http://api.twitter.com/1/statuses/update.json

The V1.1 API requires using HTTPS/SSL for POST access to status.    If you're using cUrl, make sure that options like
Code: [Select]
                     CURLOPT_SSL_VERIFYHOST => true,
                     CURLOPT_SSL_VERIFYPEER => true,
are set, and use port 443 for the connection using https

I had to adjust my TweetWX PHP scripts for that today.

Hope any of this helps...

Best regards,
Ken
Title: Re: Twitter updates
Post by: Steve on June 14, 2013, 01:50:45 AM
Ken,

Edouard is using an external JavaScript as part of hid Twitter AppleScript. So we can't edit the coding to use the 1.1 API. See the last post in this thread.

http://athena.trixology.com/index.php?topic=235.msg7232;topicseen#new

Steve
Title: Re: Twitter updates
Post by: faymondo on July 01, 2013, 05:05:08 PM
Any news re this ? A few people missing my auto updates.
Title: Re: Twitter updates
Post by: Steve on July 02, 2013, 02:16:49 AM
I looked on the above linked JA Computing page, and the latest version is from May 25, so nothing new. You might ask the developer if he's made any progress and let us know. That'll also let him know people are interested in getting this resolved.

Steve
Title: No reply to latest query (Re: Twitter updates)
Post by: elagache on July 02, 2013, 09:44:27 PM
Dear faymondo, Steve, and WeatherCat fans,

Any news re this ? A few people missing my auto updates.

When I saw your posting yesterday I sent another email to the developer to find out what the situation was.  Unfortunately, I've received no reply.  I certainly will report anything when I hear it.  However, it is admittedly discouraging.

Sorry, Edouard
Title: Hopefully good news! (Re: Twitter updates)
Post by: elagache on July 03, 2013, 09:48:54 PM
Dear WeatherCat Twitter fans,

I got a reply at last to my email about the ASTwitterLibrary. Jesse Almanrode is unfortunately having a real battle with the new Twitter API.  He writes:

Quote
The two major issues I am having right now are:

1. OAUTH authentication for API 1.1 urls doesn't like my auth string for certain API calls.  This is the HARDEST issue since OAUTH is like a black box... it works or it doesn't and the tools for troubleshooting it are not the easiest to work with

2.  All responses from the 1.1 api are now in JSON format.  Previously the api provided xml responses back.  XML parsing support is built into AppleScript but JSON is not.  I am still deciding on whether or not to use a third party application to do my JSON parsing or writing my own simple one in AppleScript.

The good news is that he has gotten simple Twitter posting to work.  He has offered to create an "in-progress" build so that my AppleScript would work once more.  So hopefully in a day or two there will be a working version of WC Twitter Uploader.

Cheers, Edouard  [cheers1]
Title: Re: Twitter updates
Post by: Steve on July 04, 2013, 03:31:35 PM
Thanks for checking with Jesse, Edouard. I've noticed a drop in my web site visitation since the Twitter posts stopped (I include an avon-weather.com link.) The good news is that my own daughter has unmuted my Twitter posts since I'm not sending them out ever couple of hours...

Steve
Title: May not show up until next week. (Re: Twitter updates)
Post by: elagache on July 04, 2013, 10:20:00 PM
Dear Steve and WeatherCat Twitter fans,

Actually I may have been too optimistic on the timing of anything new.  I forgot about the Independence day weekend.  It is unlikely anything will show up until next week sometime.

Thanks for checking with Jesse, Edouard. I've noticed a drop in my web site visitation since the Twitter posts stopped (I include an avon-weather.com link.) The good news is that my own daughter has unmuted my Twitter posts since I'm not sending them out ever couple of hours..

Ah yes, you need to choose your poison!!  [biggrin]

On the other hand, you could create a twitter account just for the weather station and have your automated posts without losing your daughter's attention.

Cheers, Edouard  [cheers1]
Title: Re: Twitter updates
Post by: Steve on July 05, 2013, 04:46:55 PM
Nah, I have plenty now, thanks.  ;)

@avonweather (obviously my weather station account; muted by youngest daughter, followed by eldest)
@TheMorrisGarage (my personal account, which both daughters follow)
@AvonGardenClub (which I occasionally post to for my Twitter-averse wife)
@avon_f1fan (separate account so as not to clog my personal one, and to avoid seeing results before watching on DVR)
@StevenKMorris (unused, but there if I need it for anything before another of me snags it)

Plus three unused but there if I need them accounts on app.net - "the next Twitter"
Title: WC Twitter Uploader working now. (Re: Twitter updates)
Post by: elagache on July 11, 2013, 11:52:11 PM
Dear faymondo and WeatherCat Twitter fans,

WC Twitter Uploader is now working!!  See this thread for more info:

http://athena.trixology.com/index.php?topic=850.0 (http://athena.trixology.com/index.php?topic=850.0)

Cheers, Edouard  [cheers1]