Author Topic: New iMac question RE Twitter updates  (Read 14890 times)

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
New iMac question RE Twitter updates
« on: October 14, 2015, 05:45:14 PM »
Got a new iMac and WC 1.2.4 is running OK. Could somebody give me a guide on how to set my station to set up tweet on the hour again. I remember years back it seemed a very complex process.

Also I did try this on a trial of the latest WC but when using Sylvester my Twitter account is not recognised when trying to set this up. Any ideas ?

Many thanks for any replies.

Neil

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Re: New iMac question RE Twitter updates
« Reply #1 on: October 14, 2015, 06:04:20 PM »
OK I thought I would try and just replace the prefs.scrpt and WC Twitter uploader.

Thought that was gonna work but the got a growl message

WC Twitter Uploader - WC Twitter upload error

WeatherCat encountered the following error in posting Twitter data: ' '.

Any Ideas ?

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
Dear Neil and WeatherCat scripters,

Got a new iMac and WC 1.2.4 is running OK. Could somebody give me a guide on how to set my station to set up tweet on the hour again. I remember years back it seemed a very complex process.

Also I did try this on a trial of the latest WC but when using Sylvester my Twitter account is not recognised when trying to set this up. Any ideas ?

Which version of OS X are you running?  Sylvester is your best bet if all you want to do is post weather conditions every hour.  It is way easier to use than my WC Twitter Uploader Applescript.  However, if you are running El Capitan there is a bug that Apple is expected to finish in the first maintenance update.  If that isn't working for you, go ahead and post the problem you are having in this forum topic:

http://athena.trixology.com/index.php?board=13.0

People have been getting Sylvester to work for the most part.

There are some things that only my AppleScript can do.  If you really want to continue using it, it is possible, but you'll need to use a new tool to actually do the uploading to Twitter.  If you are still interested, let me know I can send you the instructions.

Cheers, Edouard

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Re: New iMac question RE Twitter updates
« Reply #3 on: October 15, 2015, 07:35:05 AM »
Apologies I am running El Capitan on a shiny new 2015 iMac.

The latest trial version of WC 2 does not allow me to use Sylvester.

I am still interested in the original apple script.

When I test the AppleScript it does what I expect it to but it does not upload to Twitter per Crawl notification.

Thanks for the reply.

Neil

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
Details (Re: New iMac question RE Twitter updates)
« Reply #4 on: October 15, 2015, 10:45:02 PM »
Dear Neil and WeatherCat scripters,

Apologies I am running El Capitan on a shiny new 2015 iMac.

The latest trial version of WC 2 does not allow me to use Sylvester.

That's correct because of a bug in El Capitan.  However, once Apple fixes that bug, Sylvester will be much more convenient for just about any Twitter data that isn't involving data generated by my AppleScripts themselves.  As I'm sure you know the user-interface of my AppleScripts is . . . . shall we say . . . lacking.  Sylvester on the other hand is as easy to use as WeatherCat.

By the way, the only version of WeatherCat that is guaranteed to work with El Capitan is WeatherCat 2.2.1.  If you haven't upgraded, you probably should to avoid problems somewhere down the line.


I am still interested in the original apple script.

When I test the AppleScript it does what I expect it to but it does not upload to Twitter per Crawl notification.

The AppleScript libraries that I was using to do these uploads were broken by an API change Twitter did a few years back.  The original developer of the libraries never did manage to make them work with the new API.  There is a new free application called Twitter Scripter that can be used to replace the library.  I've sent you a PM with the first instructions on how to make that happen.

Cheers, Edouard

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Re: New iMac question RE Twitter updates
« Reply #5 on: November 30, 2015, 05:48:58 PM »
Still can't get Twitter to update. Using latest 2.2.2 weather cat and OSX 10.11.1

When I open Sylvester I get the prompt "Sylvester" would like access to Twitter. and I click OK

But in the accounts section nothing shows just a tick ?

LesCimes

  • Strong Breeze
  • ***
  • Posts: 223
    • CW9832
    • KGAGRACE1
    • Weather Underground
  • Station Details: Vantage Pro 2 on a MacMini (2009) Mac OS 10.11.6
Re: New iMac question RE Twitter updates
« Reply #6 on: November 30, 2015, 10:26:39 PM »
Might have to log into Twitter.com and change a setting there.

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
Manually enter login in Pref-Pane? (Re: Twitter updates)
« Reply #7 on: November 30, 2015, 11:17:52 PM »
Dear faymondo and WeatherCat Twitter fans,

Still can't get Twitter to update. Using latest 2.2.2 weather cat and OSX 10.11.1

Have you already set up your Twitter login in the Internet Accounts section of the system preferences?  I believe Sylvester is supposed to bring up that if you haven't provided that information, but perhaps you can get yourself unstuck by manually putting the information in.

If you have already done this perhaps there is a permission issue that is excluding Sylvester from using that system resource.  If so, you'll need to ask Stu about it.

Cheers, Edouard

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2987
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: New iMac question RE Twitter updates
« Reply #8 on: December 01, 2015, 09:27:24 PM »
This is an Apple bug in 10.11 (if Sylvester keeps asking to access you account credentials).

See http://athena.trixology.com/index.php?topic=1803.msg16468#msg16468 for details (they have not yet fixed it).

rcnz

  • Gentle Breeze
  • **
  • Posts: 11
    • IAUCKLAN159
  • Station Details: Davis Vantage Vue Pro2, iMac (OS X 10.11.2)
Re: New iMac question RE Twitter updates
« Reply #9 on: December 22, 2015, 12:24:27 AM »
Hi.

I'm following this thread, pending the El Capitan maintenance update (running OS X 10.11.2).

Should Sylvester show up here, when OS fixed?:

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: New iMac question RE Twitter updates
« Reply #10 on: December 22, 2015, 03:01:51 AM »
@rcnz Sylvester is in the Applications --> WeatherCat --> Companion Applications folder. To use it, you need to move it to the Applications --> WeatherCat folder so that it will launch automatically with WeatherCat.
Steve - Avon, Ohio, USA


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

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Re: New iMac question RE Twitter updates
« Reply #11 on: November 20, 2016, 06:26:59 PM »
Thought I would have another go at this as I have just installed macOS Sierra 10.12.1

I am running Sylvester 0.60 (1.0) and Weathercat 2.40

Sylvester looks like as attached. It seems a report has posted but I don't know where to. Nothing shows on my @liverpoolweath Twitter account apart from the last Weathercloud Tweet.

Any ideas ?

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2987
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: New iMac question RE Twitter updates
« Reply #12 on: November 21, 2016, 05:17:59 PM »
Hi Neil - the behaviour you are seeing is exactly what one would see if OS X had been revoked in your Twitter account or there was a problem with the account on your Mac. Twitter will accept the message but it won't appear in your time-line.

Try going to the Internet Accounts pane of the System Preferences then delete and re-add your Twitter account credentials (quit Sylvester first).

(Note: Just tested on 10.12.0 and 10.12.1 here with a fresh install and it looks like they have finally fixed the bug).

faymondo

  • Gentle Breeze
  • **
  • Posts: 39
Re: New iMac question RE Twitter updates
« Reply #13 on: November 22, 2016, 01:57:35 PM »
That has worked a treat.

Where can I find the strings that put data into the tweet (Wish to remove wind data as in a sheltered location) E.G Temperature: STAT$TEMPERATURE:CURRENT$STAT$TEMPERATURE:DELTACHAR$

Many thanks for the help.

xairbusdriver

  • Storm
  • *****
  • Posts: 3131
Re: New iMac question RE Twitter updates
« Reply #14 on: November 22, 2016, 02:23:39 PM »
The Manual lists all the "strings", their functions and how to build with them. Lots of examples. They come directly from the dev, so you know they will work.  ThU5:-)
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system