NATION

PASSWORD

Possibe Telegram API request issue

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Kalruun
Political Columnist
 
Posts: 2
Founded: Apr 29, 2016
Ex-Nation

Possibe Telegram API request issue

Postby Kalruun » Sun May 01, 2016 8:29 pm

So I made a telegram API request for my region. According to the guide I followed, it should have only taken a few minutes for a response to arrive. However, its been over an hour and still no response. Also, I have no way of knowing whether my request was sent or not. Is this normal, is there possibly an issue here?

User avatar
Germany Fascist Republic
Bureaucrat
 
Posts: 46
Founded: Jan 12, 2015
Ex-Nation

Postby Germany Fascist Republic » Sun May 01, 2016 8:34 pm

Kalruun wrote:So I made a telegram API request for my region. According to the guide I followed, it should have only taken a few minutes for a response to arrive. However, its been over an hour and still no response. Also, I have no way of knowing whether my request was sent or not. Is this normal, is there possibly an issue here?


It may just be a delay, might want to try checking back tomorrow in few more hours. Sometimes these things happen.
May Germany Fascist Republic hopefully live in peace!



User avatar
Ballotonia
Senior Admin
 
Posts: 5494
Founded: Antiquity
Democratic Socialists

Postby Ballotonia » Mon May 02, 2016 2:51 am

Kalruun wrote:So I made a telegram API request for my region. According to the guide I followed, it should have only taken a few minutes for a response to arrive. However, its been over an hour and still no response. Also, I have no way of knowing whether my request was sent or not. Is this normal, is there possibly an issue here?


By 'telegram API request' I presume you mean the Getting Help Request you filed with the mods. That one will be processed when a moderator gets to it. ETA is way more than a few minutes.

See: https://www.nationstates.net/pages/api.html
Unlike the rest of the API, to use the Telegrams API you need an API Client Key. Currently, you can do this by lodging a Help Request with the moderators, describing:

The purpose of your script (e.g. to send recruitment TGs, welcome-to-my-region TGs...)
The region your script will be serving
The nation primarily responsible for the script

API Client Keys are tied to a particular region, and each region may only have one (although they can be revoked and re-issued). Multiple people and scripts within a region can use the same API Client Key. If they do, they will be bound by the same rate limit: that is, when anyone uses the API Client Key to send a recruitment telegram, no-one else using the same API Client Key will be able to send more messages until the rate limit expires.

Once approved, a moderator will telegram you an API Client Key, which you can use for future API calls.

You are responsible for all use of your Telegrams API Client Key. If you suspect that it is not being used appropriately, please immediately contact the moderators.


Ballotonia
"Een volk dat voor tirannen zwicht zal meer dan lijf en goed verliezen, dan dooft het licht…" -- H.M. van Randwijk

User avatar
Kalruun
Political Columnist
 
Posts: 2
Founded: Apr 29, 2016
Ex-Nation

Postby Kalruun » Mon May 02, 2016 6:10 am

Yep, that is exactly what it is. Thank you for informing me. :)


Return to Technical

Who is online

Users browsing this forum: 7 Trees, Riemstagrad, The United Kindom under Socialist Rule

Advertisement

Remove ads