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 ...
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
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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
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 ...
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 ...
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 ...
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 ...
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 ...
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
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:...
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 ...
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 ...
-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
57
views
List /network-activity methods under Network Methods in the documentation
The API methods /users/{id}/network-activity and /me/network-activity, both return a summary of a user's activity across the Stack Exchange network and do not take a site parameter.
They are ...
1
vote
0
answers
70
views
The authentication doc gives a wrong domain for authentication
The authentication doc page now lists URL's like:
https://stackoverflow.com/oauth
https://stackoverflow.com/oauth/access_token
etc.
While these seem to work, the correct domain is stackexchange.com, ...
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
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.
4
votes
0
answers
57
views
OAuth Dialog has all content positioned off-screen
When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-...
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 ...
2
votes
1
answer
63
views
I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?
While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
-3
votes
1
answer
930
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-...
2
votes
0
answers
35
views
.wrapper not sorted correctly in filter edit popup
When editing the filter, e.g. on this API documentation page, all types are sorted alphabetically except for .wrapper which is always shown below answer, instead of above it (or at the end):
...
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 => ...
2
votes
1
answer
69
views
What are the top level question & answer localized flag_option titles?
For the SE API, the endpoints dealing with flags (e.g. /questions/{id}/flags/options) return the flag_option type. However, the option_id values are explicitly stated as being unstable, but it's ...
18
votes
0
answers
119
views
Add a dedicated bot login to Stack Apps
When dealing with chat bots, especially those like SmokeDetector, you'll often want to log in directly from the code. The problem? There's no easy way to do this, especially now that Open ID is being ...
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 ...
2
votes
1
answer
109
views
Can the API Edit a Question, changing only one field?
The documentation for the edit question method (/questions/{id}/edit) is somewhat vague.
Are all of the parameters required?
For example, if the only field I want to change in the question is tags, ...
6
votes
0
answers
72
views
Docs say the API returns a user's age, but it doesn't (anymore)
The doc page says that the user object returns an age property (for those users that specified an age).
But the API no longer does. (Plus spot checks of users that had age in ...
2
votes
0
answers
48
views
Spelling mistake in API Documentation's "Authentication" page
Can you find the spelling mistake in "Unregistered Users" (last section) of the Authentication page?
In case you're not in the mood for games, here is it:
This is actually a correct spelling - of ...
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
The new implicit authentication dialog doesn't handle comma-delimited scopes
The authentication docs state that the scopes parameter of the URL to which a user should be directed to, for implicit authentication, should be a list of scopes that are delimited by either commas or ...
4
votes
1
answer
158
views
How to use /me to display my profile data in StackExchange API?
So I'm able to use API calls like:
https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow
to display a list of questions. This is easy as it ...
-4
votes
1
answer
147
views
How to pass the api client credentials for stackexchange api in python [duplicate]
I am trying to make a console based client, that consumes the stackexchange api. I have done the registration of my app, in order to enjoy higher quotas and received the necessary keys.
My problem is,...
3
votes
1
answer
103
views
Accessing the Stack Exchange API not on behalf of an user? [duplicate]
I'm implementing an App and intend to use Stack Exchange tags to classify content, of course, respecting the terms of use.
However, the Authentication documentation says I'd need to use the OAuth 2.0 ...
4
votes
0
answers
164
views
Can we specify more than one OAuth Domain?
I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code.
Chrome provides an identity API for OAuth2, and so does ...
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 ...
2
votes
1
answer
63
views
What does "in practice" mean here?
From /answers/{id}/delete:
In practice, this method will never return an object.
For me, "in practice" means that the method will maybe return an object. But why? That's not good from an ...