Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
5 votes
1 answer
162 views

How can I implement a method to call the SE API that handles backoff correctly?

I'm writing JavaScript (Node.js) code that calls the Stack Exchange API. One part of the API is that it may return a non-zero value for backoff, which essentially means "wait n seconds before ...
1 vote
1 answer
1k views

Why am I getting a 400 Bad Request error with this code?

I'm using this code (in an async function): let about = await fetch("https://api.stackexchange.com/2.2/me?order=desc&access_token="+token+"&sort=reputation&site=gaming&...
2 votes
0 answers
224 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
2 votes
0 answers
116 views

JavaScript API Library for StackExchange API?

I'm developing an application that integrates with the Stack Exchange Network for posting questions and importing whole discussions. Therefore I'm looking for a JavaScript library for the Stack ...
3 votes
1 answer
124 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
2 votes
1 answer
239 views

Using the API directly from JavaScript

Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
5 votes
1 answer
169 views

What timezone is used in the API?

When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds? To get the current time to pass as ...