Questions tagged [support]
You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.
859
questions
3
votes
0
answers
38
views
Looking for a desktop pop-up app I can use for Science Fiction/Fantasy
I joined Science Fiction/Fantasy (SFF) in 2011. For many years I had an app running - an app I found on the site - that would create a pop-up whenever a Harry Potter question was asked. It would pop ...
1
vote
1
answer
156
views
How to get access_token from the uri after the fetch function executes?
I am using this snippet to authorize to the Stack Exchange API
const baseUrl =
"https://stackexchange.com/oauth/dialog?client_id=17823&scope=read_inbox,no_expiry&redirect_uri=https://...
3
votes
1
answer
64
views
How to get the user's pinned sites?
I have been trying to find the API for getting all the pinned/favorite sites of the user, but I can't.
1
vote
1
answer
67
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
1
answer
106
views
What does it mean when a revision number is missing?
I've noticed in the API docs for revisions that revision_number may be absent. Yet all examples, e.g. /posts/{ids}/revisions include a revision number for all responses.
I have a colleague who swears ...
4
votes
1
answer
486
views
Creating personal applications using Stack Overflow/Stack Exchange API
I want to create an application to read Stack Overflow notifications on my device.
My question: what should I provide in the OAuth Domain and Application website fields while registering the ...
1
vote
1
answer
139
views
How can I fetch the answers posted in last week based on tags of the question?
I see that tags are present only for questions. How can I get the answers to these questions given in last week (if any) having specific tags?
1
vote
1
answer
26
views
Where do I get the user impact?
I'm trying to get the data of the user's impact.
Therefore I used the /2.2/me route and did not found any of this data.
Is there any other route that gives this information?
I'm also missing the ...
3
votes
1
answer
224
views
PLACEHOLDER - How to get write_access to comment/answer on Stack Exchange
I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
1
vote
1
answer
57
views
How can I see how a Stack Apps summary looks for a particular app?
When using one of the templates (app/library/script) while writing a question here, the top of the post will contain some HTML comments:
<!-- thumbnail: https://example.com/some-image.png -->
&...
5
votes
1
answer
262
views
How to solve bad_parameter error?
I'm trying to make the Stack Exchange API request using the key provided by Stack Apps. But whenever I try it always throws the below error.
{'error_id': 400, 'error_message': "key doesn't match a ...
1
vote
1
answer
45
views
Stack Exchange API - What does "site_state" mean?
The /sites route can return site_state.
What does site state stand for and which values can it have?
The values I found:
normal
linked_meta
open_beta
4
votes
1
answer
75
views
Is there a way to fetch my flag quota?
I would like to stop flagging when I start running low on flags. Is there any way the API can tell me not only the flag options, but also whether I have any flags left and if so how many?
3
votes
1
answer
70
views
Getting the ID of the question-asker when fetching new answers from the API
I am fetching a list of all new answers posted on Stack Overflow using the /answers API call. This returns the owner of the answer, but I would like to know if the answerer is the same person as the ...
2
votes
1
answer
135
views
How to pass `key` as header value instead of as query params?
I would like to use my API Key in the header as opposed to as a query parameter.
In Stack Overflow Enterprise, I pass the value as X-API-Key in the headers. This does not work for the public Stack ...
1
vote
0
answers
149
views
How to get write_access for stackexchange API for a web app [duplicate]
I'm trying to integrate the stack exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
2
votes
1
answer
66
views
Can I get the question id in the inbox route?
My intended behavior of my app is to navigate the user the the question page when an inbox item gets clicked.
For example, when the API return a link like this
https://stackapps.com/questions/8515/...
1
vote
0
answers
123
views
Trying to get Stack Overflow Access token Using "RestAssured"
I have been trying to create an access token for a Stack Exchange app (already created). I am not even sure if I am using the correct URL https://stackoverflow.com/oauth/access_token.
RestAssured....
1
vote
1
answer
220
views
How to analyze and debug Stack Exchange's Javascript?
When writing userscripts, I often want to be able to look at what Stack Exchange's Javascript is doing. Getting to the code that the browser runs is easy enough - in the Network tab, I can see network ...
2
votes
0
answers
15
views
Is the way to search answers by who I voted for? [duplicate]
I found few similar questions: first, second. But answers is too old (2014 year). It's actual now — no way to get this info by using API?
2
votes
1
answer
57
views
After which time span can my vote no longer change?
I came across a toast that appears when I try to change my vote that I made a few days ago.
Is it documented somewhere after which time span you can no longer change your vote? Or does the API ...
3
votes
1
answer
42
views
Percentage of Questions Upvoted Lower than the Highest Upvoted Answer
On another site the issue has come up that questions may not be upvoted but answers are. I would like to get some statistical support for this. Are there already existing apps that can do this kind ...
2
votes
1
answer
37
views
How to get "usage guidance" for a tag from the Stack Exchange API?
Stack Exchange site tags have "usage guidance", both a 1-paragraph "excerpt" and a longer tag description, as e.g. for JavaScript here. Is it possible to get this data through the API? The options ...
2
votes
1
answer
302
views
How to get (unread) achievements?
Is there an API call where you can get all achievements and all unread achievements?
Like this:
Update
Thanks to the answer of Glorfindel, I use the following methods to calculate the unread ...
1
vote
0
answers
83
views
How to determine if a question is hot?
I know that I can get all hot question by sorting it like this:
/2.2/questions?order=desc&sort=hot&site=stackoverflow
Likewise, I'm not quite sure if other sortings like activity also ...
3
votes
2
answers
680
views
Can't Decompress Stack Overflow API in Swift
I am using the Stack Overflow API in Swift but keep getting an error:
The data couldn’t be read because it isn’t in the correct format.
whenever I try to use the JSON as shown in code below
...
3
votes
1
answer
67
views
503 errors on batch get questions endpoint
I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
1
vote
1
answer
165
views
Using API with sites like JSFiddle and CodePen?
I am currently working on a prototype for the flair provided by Stack Exchange and can't seem to get the API to work with CodePen. It continuously returns the following error on the SE.init call:
...
2
votes
2
answers
118
views
Is there any way or script to sort questions/posts/answers with custom criteria?
I want to fetch some questions from the API and I would like to sort them. However, I don't want to sort by the default options (activity, votes, creations, hot, week, month), but instead, for example,...
2
votes
1
answer
67
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 ...
1
vote
1
answer
254
views
How to register a Stack App with explicit OAuth 2.0 flow to a third party site?
I am about to integrate a Stack Overflow app to a third party website / integration service (Zoho).
The third party website's documentation mentioned that the redirect URL is https://deluge.zoho.com/...
6
votes
1
answer
109
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
854
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 ...
4
votes
1
answer
135
views
Suggestion for new Stack App or SE UI feature: Reopen queue status
Summary
This is a suggestion to create one, possibly two, indicators relating to Reopen Review Queue status. The purpose is to alert users to the requirement for intervention outside the normal ...
2
votes
1
answer
61
views
Suggested edit not returned by API
This suggested edit: https://dba.stackexchange.com/suggested-edits/20375 is not returned by the /suggested-edits/{ids} API call:
https://api.stackexchange.com/2.2/suggested-edits/20375?site=dba ...
2
votes
1
answer
70
views
I am unable to get the desired response through Stack Exchange API, using Postman [duplicate]
I am using this: https://api.stackexchange.com/docs/answers#page=3&order=desc&sort=activity&filter=default&site=stackoverflow
to get the response.
Is this the correct URI?
I have ...
2
votes
1
answer
48
views
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?
The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
1
vote
1
answer
1k
views
How to get access token from the hash?
I am trying to implement OAuth Stack Exchange API via Android app as client.
After a successful login from out I get the below URL how do I get or decode the access_token from the hash?
https://...
3
votes
1
answer
207
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 ...
0
votes
1
answer
107
views
How to search ALL sites with the advanced API?
I can make a request to Stack Overflow as follows, which searches with keywords in titles:
/2.2/search/advanced?title=vlookup%20index%20match&site=stackoverflow
My question is ...
4
votes
0
answers
175
views
Alternative to official app?
I started using the Stack exchange app, but realized it was abandoned and just plain sucks. Now that I abandoned it though, I really miss push notifications and having all 8 sites I'm active in one ...
4
votes
1
answer
436
views
`redirect_uri` is not under the registered domain for this application
I am trying to implement Stack Exchange authorization in my RoR application.
But I get the error :
redirect_uri is not under the registered domain for this application
in Gemfile use:
gem '...
1
vote
1
answer
192
views
OAuth redirect_uri to https://stackexchange.com/oauth/login_success?xxx strips part of the query string
I have a browser extension that uses OAuth2 to retrieve an access token. As recommended by https://api.stackexchange.com/docs/authentication, I use https://stackoverflow.com/oauth/login_success as the ...
1
vote
1
answer
289
views
Is there a SQL-like query for the API?
I've looked at the API docs.
However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc).
Example: data....
4
votes
1
answer
1k
views
Unable to make API calls using access_token for private Stack Overflow Teams site
I am attempting to create an application utilizing the API to query data from our private Stack Overflow Teams site.
I've read through the documentation at https://api.stackexchange.com/docs/teams ...
4
votes
1
answer
77
views
Find out whether a user has association bonus
I searched for this in the api docs and on this page but couldn't find any information:
I have an api token of a given user. Is there a way to find out whether this user has association bonus rights?
...
8
votes
1
answer
215
views
Why has my daily quota increased from 10k to 2 billion?
I'm using the Stack Exchange API with an access token and API key, and I was just checking my remaining quota. According to the documentation, this should be a number (somewhat) lower than 10,000, ...
1
vote
0
answers
20
views
How can I look up an existing application registration? [duplicate]
I registered for a key, and I have the key and client ID, but I'd like to check the rest of the data I entered since I neglected to save it. Is there a UI somewhere to see what I did?
3
votes
1
answer
83
views
When I perform an API call via browser, it displays pretty JSON. How come when I do the same request via nodejs in my console it is garbled? [duplicate]
If I browse to https://api.stackexchange.com/2.2/search?site=stackoverflow&tagged=racket via Chrome, it displays a bunch of JSON containing the appropriate content. But when I run the following ...
2
votes
1
answer
88
views
Can I make a Private Application?
I wish to access the API from a purely internal application; no visible app to the public, no promotion, no OAuth. That seems impossible via the key registration form; am I missing something?