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

Trouble with 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.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Trouble with Twitter

Post by beteljuice »

Might be a step or two more awkward:

Here's a response to someone who wanted to tweet in arabic:
This is likely failing due to an encoding error. Make sure that:

the Arabic is being posted as UTF-8 content.

When POSTing, it's best that "الخيال اهلا وسهلا بكم في عالم" gets sent as "%D8%A7%D9%84%D8%AE%D9%8A%D8%A7%D9%84%20%D8%A7%D9%87%D9%84%D8%A7%20%D9%88%D8%B3%D9%87%D9%84%D8%A7%20%D8%A8%D9%83%D9%85%20%D9%81%D9%8A%20%D8%B9%D8%A7%D9%84%D9%85"

The OAuth signature base string needs to then have that escaped again: "%25D8%25A7%25D9%2584%25D8%25AE%25D9%258A%25D8%25A7%25D9%2584%2520%25D8%25A7%25D9%2587%25D9%2584%25D8%25A7%2520%25D9%2588%25D8%25B3%25D9%2587%25D9%2584%25D8%25A7%2520%25D8%25A8%25D9%2583%25D9%2585%2520%25D9%2581%25D9%258A%2520%25D8%25B9%25D8%25A7%25D9%2584%25D9%2585"
Not quite sure how the tweeter would know what to put in thier custom txt file.
Image
......................Imagine, what you will KNOW tomorrow !
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: Trouble with Twitter

Post by steve »

beteljuice wrote:Not quite sure how the tweeter would know what to put in thier custom txt file.
I don't think there's anything that would work; Cumulus has to do the encoding.
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: Trouble with Twitter

Post by steve »

I tried encoding the string as UTF-8 and it still doesn't work, so something 'lower down' is probably converting it back again. So I give up; Twitter is more trouble than it's worth.
Steve
Post Reply