Note that there are some explanatory texts on larger screens.

plurals
  1. USDDSports
    primarykey
    data
    text
    plurals
    1. COI felt the need to post this, as I often use snippets of code which don't work because I missed something that other coders take for granted. GHad made the point about Array size that got my code working (thanks for making that clear). Trying stuff out is the way to learn, and if that means I deserve all I get for taking code from SO and trying to understand how/why it works, then so be it. As an unpaid amateur, I'm not the Java genius that some like to think they are! Thankfully, most of the SO contributors answer questions to help others write better code: For that, you deserve thanks!
      singulars
    2. COI'm not using a properties file in this case - I'm writing the tokens/secrets directly into the code (see original question). I found out that it was the Callback URL that was the problem - see the answer to my own question below.
      singulars
    3. CO@George:OK, that's useful info. I'm sure that the time/date was correct last time I tried it, but I'll check again. Does it have to be USA time, or are the servers based in the UK? And the CallbackURL is something else to look at. I didn't think I needed one as I'm not trying to Authorise in my app on-the-fly, I only want to send updates to a pre-defined and fixed Twitter account. I thought the oAuth/CallbackURL bit was bypassed by getting the 4 keys/tokens directly from Twitter, but if Twitter is fussy about having one, even if it's an unused dummy URL, I'll give it a go. Thanks!
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload