Author Topic: Twitter updates  (Read 9052 times)

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Twitter updates
« 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

Steve

  • Global Moderator
  • Storm
  • *****
  • Posts: 1592
    • DW8454
    • KOHAVON11
    • Avon Weather
  • Station Details: Davis Wireless VP2 Plus w/24 hr FARS, 2023 Mac mini M2 Pro, 32GB RAM, Mac OS 15, WeatherCat 3.3
Re: Twitter updates
« Reply #1 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...
Steve - Avon, Ohio, USA


CWOP: DW8454 - WU: KOHAVON11 - AWEKAS
PWSweather - WeatherCloud - Facebook

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Re: Twitter updates
« Reply #2 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.

Steve

  • Global Moderator
  • Storm
  • *****
  • Posts: 1592
    • DW8454
    • KOHAVON11
    • Avon Weather
  • Station Details: Davis Wireless VP2 Plus w/24 hr FARS, 2023 Mac mini M2 Pro, 32GB RAM, Mac OS 15, WeatherCat 3.3
Re: Twitter updates
« Reply #3 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.
Steve - Avon, Ohio, USA


CWOP: DW8454 - WU: KOHAVON11 - AWEKAS
PWSweather - WeatherCloud - Facebook

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Re: Twitter updates
« Reply #4 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.

Steve

  • Global Moderator
  • Storm
  • *****
  • Posts: 1592
    • DW8454
    • KOHAVON11
    • Avon Weather
  • Station Details: Davis Wireless VP2 Plus w/24 hr FARS, 2023 Mac mini M2 Pro, 32GB RAM, Mac OS 15, WeatherCat 3.3
Re: Twitter updates
« Reply #5 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/
Steve - Avon, Ohio, USA


CWOP: DW8454 - WU: KOHAVON11 - AWEKAS
PWSweather - WeatherCloud - Facebook

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6686
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
JA Computing library broken. (Re: Twitter updates)
« Reply #6 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/

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

saratogaWX

  • Strong Breeze
  • ***
  • Posts: 162
  • Weather website programming enthusiast
    • Saratoga-Weather.org
  • Station Details: Davis VP1 +, iMAC 21, OSX 10.6.8
Re: Twitter updates
« Reply #7 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
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub, WeatherSnoop, WeatherCat
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Steve

  • Global Moderator
  • Storm
  • *****
  • Posts: 1592
    • DW8454
    • KOHAVON11
    • Avon Weather
  • Station Details: Davis Wireless VP2 Plus w/24 hr FARS, 2023 Mac mini M2 Pro, 32GB RAM, Mac OS 15, WeatherCat 3.3
Re: Twitter updates
« Reply #8 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
Steve - Avon, Ohio, USA


CWOP: DW8454 - WU: KOHAVON11 - AWEKAS
PWSweather - WeatherCloud - Facebook

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Re: Twitter updates
« Reply #9 on: July 01, 2013, 05:05:08 PM »
Any news re this ? A few people missing my auto updates.

Steve

  • Global Moderator
  • Storm
  • *****
  • Posts: 1592
    • DW8454
    • KOHAVON11
    • Avon Weather
  • Station Details: Davis Wireless VP2 Plus w/24 hr FARS, 2023 Mac mini M2 Pro, 32GB RAM, Mac OS 15, WeatherCat 3.3
Re: Twitter updates
« Reply #10 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
Steve - Avon, Ohio, USA


CWOP: DW8454 - WU: KOHAVON11 - AWEKAS
PWSweather - WeatherCloud - Facebook

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6686
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
No reply to latest query (Re: Twitter updates)
« Reply #11 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

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6686
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Hopefully good news! (Re: Twitter updates)
« Reply #12 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]

Steve

  • Global Moderator
  • Storm
  • *****
  • Posts: 1592
    • DW8454
    • KOHAVON11
    • Avon Weather
  • Station Details: Davis Wireless VP2 Plus w/24 hr FARS, 2023 Mac mini M2 Pro, 32GB RAM, Mac OS 15, WeatherCat 3.3
Re: Twitter updates
« Reply #13 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
Steve - Avon, Ohio, USA


CWOP: DW8454 - WU: KOHAVON11 - AWEKAS
PWSweather - WeatherCloud - Facebook

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6686
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
May not show up until next week. (Re: Twitter updates)
« Reply #14 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]