All Questions
236 questions
2
votes
1
answer
140
views
Documentation describing fields for api stack exchange
When I looked through the StackExchange documentation, I didn't find any documentation describing the fields. I have to study the request and response for a long time in order to understand why this ...
8
votes
1
answer
1k
views
How can I quickly get an access token for personal use?
Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do?
However, what if I do want an ...
0
votes
0
answers
30
views
how can i take write acces on stack overflow [duplicate]
const express = require("express");
const router = express.Router();
const axios = require("axios");
const querystring = require("querystring");
const dotenv = require(&...
2
votes
0
answers
56
views
Improve design of the Documentation's 404 page
The 404 page of the documentation has a rather awkward design; for example, a different header than other pages, and no footer. Can it be updated?
1
vote
1
answer
154
views
OAuth Domain can't satisfy redirect_uri AND Proxy url
Let's say I have an app called ExampleApp, with these details:
Client ID: 12345
Key: ThisIsTheKey123()
OAuth Domain: exampleapp.com
[√] Enable Client Side OAuth flow
[√] Disable ...
2
votes
1
answer
94
views
Clarify read-only vs. write operations for Teams in documentation
The API page about Stack Overflow for Teams says (emphasis mine):
Starting with the release of Stack Overflow For Teams, the Stack Exchange API exposes read-only access to data stored in private ...
6
votes
1
answer
1k
views
Please "release" and/or document API version 2.3
I was playing around a bit with Fiddler to capture traffic from the Stack Exchange iOS app. To my surprise, it uses version 2.3 of the Stack Exchange API:
I noticed here that it has some extra ...
1
vote
0
answers
99
views
PLACEHOLDER - A post to register my app posting
PLACEHOLDER - Just a post to register my app.
2
votes
0
answers
99
views
Uncaught channelUrl must be under the current domain
I'm developing a Stack Chrome extension that will make use of the API. I'm following the instructions on the API docs here.
My OAuth and host websites are set to stackexchange.com in my Stack Apps ...
109
votes
3
answers
23k
views
API Documentation and Help
Method List
All API methods can be found at https://api.stackexchange.com/docs.
Global Method Parameters
All methods accept the following parameters:
type=jsontext: responds with mime-type text/json.
...
2
votes
1
answer
57
views
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, incl. differences between them?
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, including differences between them?
Basically, I'm looking for onboarding documentation ...
1
vote
1
answer
61
views
Why is no_expiry "strongly advised against"?
In the docs on user auth, it says
This request is responded to with either an error (HTTP status code 400) or an access token of the form access_token=...&expires=1234. expires will only be set ...
1
vote
0
answers
38
views
Typo in API docs /numbers)
https://api.stackexchange.com/docs/numbers
The motivation for this is to prevent any unpleasant floating point confusion, especially across technologies that offering different floating point ...
2
votes
1
answer
154
views
How do I add a comment to a post through the Stack Exchange API?
I want to add an comment to a specific post so, how do I get its ID and how do I authorize it. I want it to done through the Stack Exchange API interface.
1
vote
1
answer
231
views
Get access token for matrix bridge
I want to build a bridge for my matrix server.
To read my inbox an access_token is required.
Do I really need to register an application just to get one access token?
6
votes
1
answer
135
views
Does a closed and/or deleted Stack Apps post still provide access to the API?
Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API.
What happens if the question is closed because of ...
32
votes
1
answer
11k
views
Looking for a beginner's tutorial to using the API
I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation.
I want some fundamental ...
2
votes
1
answer
432
views
"Could not parse uri [redirect_uri]" when trying to authenticate
I was just reading into this API and wanted to test it out before I would use it in a project.
I have added an application on this site and got all of the keys.
When I try to authenticate a user with ...
2
votes
0
answers
335
views
window.opener is null in Stack Exchange login_success page
I am using the JavaScript SDK to authenticate Stack Exchange users in our application. But the dialog stays in "Authorizing Application" page, as I found there is a error thrown in this page:...
3
votes
0
answers
40
views
Browsing method documentation consumes 4 quota units per page
Is it my imagination (scratch that, it's definitely not), or does simply browsing method doc pages (without using the "Run" function) consume quota?
From Bash using httpie and jq (on a ...
3
votes
1
answer
246
views
Unable to post a comment using the interactive API documentation
I'm trying to to integrate the Stack Exchange API in my application. I'm trying the authentication but when I got the token and used it it gave a write_access issue. That issue was resolved when I ...
5
votes
1
answer
2k
views
Desktop login URL: WebBrowser hangs (.NET) - JavaScript endless-loop
I am using .NET 4 and trying to use the desktop authentication via the web-browser control (WPF and/or WinForms; StackApp NNTP bridge for accessing StackExchange forums (like StackOverflow)).
It seems ...
1
vote
0
answers
165
views
Having Trouble Setting Up OAuth for App
I am trying to build an app but I can't get the authentication right.
I have been following the steps here:
https://api.stackexchange.com/docs/authentication
I keep getting the below error no matter ...
1
vote
0
answers
153
views
Use Stack Overflow's authentication API in a browser extension
I want to create a browser extension that reproduce the Stack Overflow navbar (inbox and achievements):
I need for that to authenticate the current user using the authentication API.
For this step, I ...
0
votes
1
answer
30
views
If a client authenticates, will API requests be counted on their profile?
For example, let's say client X signs into an app that I made. My servers get an access_token which I can then use to send requests on their behalf, for example reading their reputation history. By ...
1
vote
1
answer
82
views
Wrong sorting parameter in documentation for question/{ids}/answers
It looks like that in the question/{ids}/answers documentation, there is a mistake:
votes – score
Shouldn't this be
votes – votes
31
votes
6
answers
2k
views
Draft Specification for API v2.0
We've started working on the next version of the Stack Exchange API.
The current draft specification is available, and we'd like to hear your feedback!
The headlining feature for this release is ...
15
votes
1
answer
2k
views
Unable to get access token
I am trying to get a non-expiry access token, like so:
https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}}
I am repeatedly getting the error:
...
20
votes
3
answers
159
views
Documentation or API method for `option_id` information, for the `/flags/options` API calls?
The Stack Exchange API has a couple of calls that return a list of flag_option objects.
These objects contain a couple of properties that can be used to identify the flag you need.
For example, when ...
-1
votes
1
answer
1k
views
Why and how to make use of API key and credentials Stack Overflow API? [duplicate]
I am in need of using the Stack Overflow API for my website. I've gone through the documentation and I got the API key and client credentials. But my question is, I am able to send my question through ...
2
votes
0
answers
81
views
Update Teams API documentation to reflect dependency on tier
The documentation says (emphasis mine):
Starting with the release of Stack Overflow For Teams, the Stack Exchange API exposes read-only access to data stored in private Teams.
This is slightly ...
4
votes
1
answer
483
views
Refresh expired acess token basics
I'm trying to learn how to implement an OAuth flow in an Android app using a simple app with the Stack Exchange API.
Using WebView, I'm able to retrieve an access token and store it in my shared ...
3
votes
1
answer
4k
views
HTTP 400 "Bad Request" while using "access_token" in request Url
I registered an app, obtained a key and I have implemented the implicit OAuth 2.0 flow in a Windows 8 desktop app (as per the documentation available here). After receiving and storing the access ...
1
vote
1
answer
74
views
How can I the question detail page and add comments like the Stack Exchange app?
Can we get the list of data when clicking on a specific question and display the question detail page like the Stack Exchange app?
I can't find the API to get them so far, so I decided to display the ...
9
votes
1
answer
141
views
Typos in API documentation
From the /posts documentation:
Most applications should use the question or answer specific methods, but /posts is available for those rare cases where any activity is of intereset.
intereset => ...
3
votes
1
answer
258
views
Localhost test Stack App authentication: error 'redirect_uri' does not match
I tried the answer at "Can the redirect_uri contain port number"?
But I am getting the following error:
Provided redirect_uri does not match the redirect_uri this code was created with
My access ...
2
votes
1
answer
196
views
Stack Exchange login hangs on Windows 10 Mobile?
I am working on a Stack Exchange App (Stack App for Windows 10 PC/Mobile and Windows 8.1 Mobile).
I have a user login set up and using the WebAuthenticationBroker in Universal Windows Platform, to ...
-4
votes
1
answer
146
views
Problem Implementing Socialite Stack exchange
I get code and access token but I cannot call API function
My url being generated
https://api.stackexchange.com/2.2/me?site=stackoverflow&access_token=lcynp67rMHfm%28DRLjv7CVQ%29%29&key=6521
{...
2
votes
1
answer
84
views
What happened to the links to a Stack App mentioned in the documentation about write access?
The documentation about write access states:
The application responsible for creating content via the API may be indicated with a link to an app's Stack Apps post. The exact manner of display is ...
-3
votes
1
answer
931
views
"text/plain" content type header for x-www-form-urlencoded content? [duplicate]
I'm getting the following response body and header from https://stackoverflow.com/oauth/access_token when attempting to
exchange an oauth code for a token:
<DEBUG> [00:30:03] my-app - content-...
4
votes
1
answer
410
views
My filter is not returning any results. How to create a minimal filter?
I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this.
I'll use this call as an example since it successfully ...
2
votes
1
answer
102
views
"Javascript" typo on documentation pages
On page Usage of /sites, it should be JavaScript, not Javascript, in the right sidebar:
This obviously also applies to (most/all) API documentation pages, since they share the sidebar.
1
vote
1
answer
626
views
oauth 2.0 based on stackexchange api and fetch user details
I am new to oauth 2.0. What i am trying to achieve is following
I have a google api based oauth authentication in place
On top I fetch the gmail email address and verify if this address is present in ...
8
votes
2
answers
554
views
Getting unauthorized_error when using OAuth2.0
I want to create a simple desktop application which connects to my account and shows some information in the status bar. I've been trying to authenticate using OAuth2.0 but I'm getting stuck and I ...
1
vote
1
answer
693
views
No 'Access-Control-Allow-Origin' for oauth/access_token
Following the Stack Apps documentation Authentication (explicit) section I crafted this AJAX call
$.ajax({
url:"https://stackexchange.com/oauth/access_token",
type:"...
5
votes
1
answer
180
views
Few typos in the documentation pages
https://api.stackexchange.com/docs/vectors
When passing a vector, sepeate each id with a semicolon. For example, /users/1;2;3;4;5?site=somesite would fetch users with ids 1 through 5 on somesite.
...
6
votes
1
answer
9k
views
'The target origin provided does not match the recipient window's origin' message when trying to use localhost
I am trying to experiment with the Stack Overflow API on my localhost and am struggling to get the authentication to complete. Here is my application JavaScript code (note that I am using IBM ...
6
votes
1
answer
350
views
Where is the usage documentation?
I know this is probably a dumb question, but there's a bunch of documentation and I don't know what to do with this stuff. How do you use the API?
3
votes
1
answer
104
views
Cannot get redirect_uri to work
This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
9
votes
1
answer
853
views
Getting "application not configured for implicit grants" error trying to setup website
I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new ...