Page 4 of 6

PostPosted: Fri Nov 23, 2018 10:08 pm
by LittleGermany
Hello i have been getting alot of
NationStates API returned: '400 Bad Request' from URL:

i dont think its anything on my side any ideas?

PostPosted: Sat Nov 24, 2018 6:56 am
by Agadar
LittleGermany wrote:Hello i have been getting alot of
NationStates API returned: '400 Bad Request' from URL:

i dont think its anything on my side any ideas?


No. Can you give more information to work with?

PostPosted: Sun Nov 25, 2018 3:59 pm
by LittleGermany
Agadar wrote:
LittleGermany wrote:Hello i have been getting alot of
NationStates API returned: '400 Bad Request' from URL:

i dont think its anything on my side any ideas?


No. Can you give more information to work with?

What information do you need?

PostPosted: Mon Nov 26, 2018 5:21 pm
by LittleGermany
LittleGermany wrote:
Agadar wrote:
No. Can you give more information to work with?

What information do you need?

i have all the updated java programs and i have the API keys and telegram keys to match and i seems to keep getting errors when i try to send them out. i sent the resulting error that comes up. not sure what else you need?

PostPosted: Tue Nov 27, 2018 6:40 am
by Agadar
LittleGermany wrote:
LittleGermany wrote:What information do you need?

i have all the updated java programs and i have the API keys and telegram keys to match and i seems to keep getting errors when i try to send them out. i sent the resulting error that comes up. not sure what else you need?


Does the error not print anything after the ':'? It should contain a description of what went wrong.

If possible, copy-paste the entirety of the output window here or send it to me in a telegram so I can take a look at it.

EDIT: Make sure to obscure your private keys when you copy-paste the output.

api not working

PostPosted: Mon Dec 03, 2018 6:07 pm
by Banana Man154
Agadar wrote:
LittleGermany wrote:i have all the updated java programs and i have the API keys and telegram keys to match and i seems to keep getting errors when i try to send them out. i sent the resulting error that comes up. not sure what else you need?


Does the error not print anything after the ':'? It should contain a description of what went wrong.

If possible, copy-paste the entirety of the output window here or send it to me in a telegram so I can take a look at it.

EDIT: Make sure to obscure your private keys when you copy-paste the output.

mine keeps saying "403 Client not registered for appi" and I know I have the right keys, what should I try to do?

PostPosted: Mon Dec 03, 2018 8:27 pm
by Phydios
Banana Man154 wrote:mine keeps saying "403 Client not registered for appi" and I know I have the right keys, what should I try to do?

If you aren't registered, you need to file a GHR to get new API keys. Yours may have been lost in the server problems this past summer.

PostPosted: Mon Dec 03, 2018 8:44 pm
by Frisbeeteria
Phydios wrote:Yours may have been lost in the server problems this past summer.

He's not supplying all the relevant information. He's using a different nation's key, but presumably from the correct region. The Client Key is working as expected for the key owner, but not for the secondary recruiter. Mods can't and don't supply tech advice on third party scripts, so I can't tell him anything useful. I'm guessing that's why he posted here.

PostPosted: Tue Dec 04, 2018 2:58 pm
by Phydios
Frisbeeteria wrote:
Phydios wrote:Yours may have been lost in the server problems this past summer.

He's not supplying all the relevant information. He's using a different nation's key, but presumably from the correct region. The Client Key is working as expected for the key owner, but not for the secondary recruiter. Mods can't and don't supply tech advice on third party scripts, so I can't tell him anything useful. I'm guessing that's why he posted here.

Well, that certainly changes the situation. Hope he figures it out.

PostPosted: Sat Dec 22, 2018 8:54 am
by Agadar
Version 2.0.0 has been released for public testing. It depends on Java 11 (previous version depended on Java 8 ). Happy telegramming!

PostPosted: Sat Dec 22, 2018 8:57 am
by Honeydewistania
Why doesn't this provide a bigger list of new nations? The new nations filter only does 2 hours, so it's annoying that it's not constant.

PostPosted: Sat Dec 22, 2018 9:16 am
by Agadar
Honeydewistania wrote:Why doesn't this provide a bigger list of new nations? The new nations filter only does 2 hours, so it's annoying that it's not constant.


That's because the API only returns the 50 newest nations each time it's called. However, my telegrammer provides options that allow you to refresh the list after every telegram, and to run indefinitely. This means you can leave it running indefinitely and it will continue to send telegrams to new nations until the end of the world.

PostPosted: Thu Jan 24, 2019 2:11 am
by Townsvalley
Agadar wrote:Version 2.0.0 has been released for public testing. It depends on Java 11 (previous version depended on Java 8 ). Happy telegramming!

bugs
1.it doesn't run. the cmd just flashes. and then closes. while the 1.6.0 version runs smoothly.

Question:
The telegrammer 1.6.0 says QUED for "nation"
does that mean the telegram has been sent?

PostPosted: Fri Jan 25, 2019 3:19 pm
by Agadar
Townsvalley wrote:
Agadar wrote:Version 2.0.0 has been released for public testing. It depends on Java 11 (previous version depended on Java 8 ). Happy telegramming!

bugs
1.it doesn't run. the cmd just flashes. and then closes. while the 1.6.0 version runs smoothly.

Question:
The telegrammer 1.6.0 says QUED for "nation"
does that mean the telegram has been sent?


Is your Java version 11?

As for your question: no, it means the telegram has been queued. As with sending telegrams using stamps, this means the telegram will likely be sent soon, but it is no guarantee.

PostPosted: Sat Jan 26, 2019 1:24 pm
by Townsvalley
Agadar wrote:
Townsvalley wrote:bugs
1.it doesn't run. the cmd just flashes. and then closes. while the 1.6.0 version runs smoothly.

Question:
The telegrammer 1.6.0 says QUED for "nation"
does that mean the telegram has been sent?


Is your Java version 11?

As for your question: no, it means the telegram has been queued. As with sending telegrams using stamps, this means the telegram will likely be sent soon, but it is no guarantee.

ok got it running

PostPosted: Sat Apr 06, 2019 10:47 am
by North Covenant
I was wondering is there any chance you'd be willing to add a filter excluding nations with numbers in their names, as a lot of puppets get caught up in the clutter where I'll end up sending a recruitment telegram to the same person like 25 times

PostPosted: Sat Apr 06, 2019 11:08 pm
by Tim-Opolis
North Covenant wrote:I was wondering is there any chance you'd be willing to add a filter excluding nations with numbers in their names, as a lot of puppets get caught up in the clutter where I'll end up sending a recruitment telegram to the same person like 25 times

To expand on this, if actually feasible and API legal, it would be amazing to have a list of exclusions that would filter out nation names that contained words of characters on the list.

PostPosted: Mon Apr 08, 2019 5:47 am
by Agadar
Both suggestions are feasible. I'll add them to the todo list.

PostPosted: Sun Apr 28, 2019 12:11 am
by East Meranopirus
So does the output only show the queuing but not the sending? Because everything on my output is either "queued telegram for NATION" or "skipped recipient NATION".

PostPosted: Wed May 01, 2019 9:15 pm
by United States of Americanas
Anyone have experience running this app on a Macintosh?

Is there MacOS support? Specifically for 10.14 Mojave. Looks like a really nice tool and I could really use this for campaigning my WA proposals.

PostPosted: Sat May 04, 2019 1:38 am
by Kaystein
So i downloaded this because it seems useful. But I'm not savvy with APIs. Can I maybe get some more information about what I'm supposed to do with it? Specifically how do I set it up so I can use it to automate sending telegrams in my region?

PostPosted: Mon May 06, 2019 9:17 pm
by United States of Americanas
Kaystein wrote:So i downloaded this because it seems useful. But I'm not savvy with APIs. Can I maybe get some more information about what I'm supposed to do with it? Specifically how do I set it up so I can use it to automate sending telegrams in my region?


1. https://www.nationstates.net/pages/api.html#telegrams Read this and obtain an API “client ID” then follow the instructions on page to get a TGID / secret key.

2. Plug the Client ID into the program along with the TGID and secret key.

3. Use filters and tools in the program to set up your telegram recipient list.

4. Begin sending telegrams.

PostPosted: Sun May 12, 2019 7:17 am
by Agadar
East Meranopirus wrote:So does the output only show the queuing but not the sending? Because everything on my output is either "queued telegram for NATION" or "skipped recipient NATION".


That is correct. The sending of telegrams is not guaranteed, even when sending telegrams using stamps instead of the API.

United States of Americanas wrote:Anyone have experience running this app on a Macintosh?

Is there MacOS support? Specifically for 10.14 Mojave. Looks like a really nice tool and I could really use this for campaigning my WA proposals.


I have no experience with running this on a Mac, but seeing as there are Java versions for Mac, you shouldn't have trouble running my telegrammer.

Kaystein wrote:So i downloaded this because it seems useful. But I'm not savvy with APIs. Can I maybe get some more information about what I'm supposed to do with it? Specifically how do I set it up so I can use it to automate sending telegrams in my region?


Check the OP for Ever-Wandering Souls's great guide on getting started with sending telegrams.

PostPosted: Mon Oct 21, 2019 9:08 am
by Radical Republic
Total noob moment but how do I open it once it is installed and unzipped? I have both telegrammer and code installed

PostPosted: Wed Oct 23, 2019 2:19 am
by Agadar
Radical Republic wrote:Total noob moment but how do I open it once it is installed and unzipped? I have both telegrammer and code installed


I've replied to your telegram.