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.
878
questions
1
vote
1
answer
2k
views
How can I use an iOS custom URL scheme as redirect_uri?
I am trying to implement OAuth using iOS URL schemes. For example if I provide myapp:// as redirect_uri the app should launch. However, I cannot add it as OAuth domain in the Stack Apps settings, as ...
1
vote
0
answers
154
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 ...
1
vote
0
answers
49
views
How to automate StackApp user approve and user login with stack Exchange explicit oAuth2.0
We are developing an stack App and integrating the app in our application. However we have successfully done a POC over POSTMAN and fiddler for explicit oAuth2.0. Now when we are integrating the same ...
1
vote
1
answer
58
views
Is there any way to get questions by tag with excerpt?
I'm checking how I can embed the search for one project. Basically I want something like this page.
With the search I can get the list of questions with all meta data from the search, however the ...
2
votes
1
answer
341
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
241
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 ...
2
votes
0
answers
101
views
When does API quota reset?
I had a program consuming Stack Overflow API quota (10,000 per day) last night across midnight. This morning I checked, and my quota has not been set back to 10,000. Is this normal? If yes, when does ...
1
vote
1
answer
70
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 ...
2
votes
1
answer
75
views
API to submit a Suggested Edit
Is there a way of using the API to submit a suggested edit?
This would allow users without the edit privilege to at least submit their suggestion.
There is no create/add endpoint listed in the docs ...
3
votes
0
answers
43
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 ...
3
votes
1
answer
71
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.
4
votes
1
answer
549
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 ...
2
votes
1
answer
156
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 ...
3
votes
1
answer
71
views
How can I get user links in the API call like Twitter, GitHub and so on?
I'm trying to get the user's user links from his profile. Like this person
has GitHub and Twitter links on his profile. How can I get those?
1
vote
1
answer
35
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
266
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 ...
5
votes
1
answer
351
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 ...
12
votes
1
answer
350
views
How the /sites method is meant to be used
The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
1
vote
1
answer
53
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
3
votes
2
answers
756
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
84
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 ...
1
vote
1
answer
273
views
"client_id not provided" when trying to obtain an access_token
So I'm trying to authenticate with the v2 API via oauth2. I have a code, so I'm POSTing to https://stackexchange.com/oauth/access_token and ideally get an access_token back.
Instead I get an ...
2
votes
1
answer
191
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 ...
6
votes
2
answers
112
views
Script to dynamically expand the Q/A text field
I'm searching for a script to (vertically) expand the text field in questions and answers as I type.
I personally prefer seeing all content at once (while the area can be extended by manually dragging,...
3
votes
1
answer
170
views
Difference between `/inbox/unread` & `/me/inbox/unread`
I ran /inbox/unread & /me/inbox/unread.
What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
2
votes
1
answer
58
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 ...
2
votes
1
answer
71
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
135
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
266
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
64
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 ...
2
votes
1
answer
333
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 ...
3
votes
1
answer
49
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
40
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 ...
1
vote
0
answers
84
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
1
answer
74
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
172
views
How do I find all questions/answers per a tag using .Net?
I want to get the list of questions based on tag name using .Net. can any one please let me know how to achieve this using .Net with API Version 2.2?
1
vote
1
answer
201
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
1
answer
77
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
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 ...
5
votes
1
answer
436
views
How to increase app request quota from 300 to 10,000?
In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((:
Pass this as key when making requests against the Stack Exchange ...
4
votes
1
answer
148
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 ...
3
votes
1
answer
3k
views
Searching on Stack Overflow and using the API give different results?
I am trying to use the Stack Exchange API to see the trends on different topics.
Looking at the API documentation, I see that I could do this using the /search path (it's documented that this method ...
1
vote
1
answer
99
views
Maximum tags for a question on any SE site [closed]
Is the maximum tags for all SE sites (and those in the future) 5?
1
vote
1
answer
293
views
access_token not present in /oauth/access_token response
When using the explicit OAuth authentication for apps, I have problems receiving the access_token. A user goes to /approve and is then forwarded to approve the app. When redirected back to my site I ...
3
votes
1
answer
60
views
List recent tag wiki edits
I would like to list tags where the tag wiki or tag wiki excerpt was recently edited or created. How can I do this?
It is not a problem if I get a few false positives by tags modified in other ways, ...
2
votes
1
answer
65
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 ...
4
votes
1
answer
284
views
Can not request info after OAuth
I am following The implicit OAuth 2.0 flow Guide:
My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA((
I appended my URL as:
https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
2
votes
5
answers
4k
views
Get user data using curb/Curl in Ruby
I am trying to get user data in my Rails app.
I am doing this:
url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext"
curl = Curl::Easy.new(url_so)
curl.perform
data_obj = ...
2
votes
1
answer
89
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 ...