All Questions
615 questions
7
votes
1
answer
28k
views
How to deal with the "Too Many Requests" error coming as HTML?
The API specifies error codes, and messages.
It also specifies a "backoff" parameter.
But, even while respecting the backoff and stopping at errors, and even when waiting a long time between requests ...
3
votes
1
answer
67
views
Wrong results for fetch timeline from offset
To get the timeline for a question I am sending this request:
https://api.stackexchange.com/2.2/questions/63299112/timeline?site=stackoverflow&fromdate=1597649222
I am getting empty results:
{&...
1
vote
0
answers
56
views
"edited" key always return false. even though it shows edited on site
CommentID: 1193255 On site Meta Stack Exchange
The Api returns edited as false
However if you see the comment itself, you can see it has been edited.
Is there something that I am missing here?
22
votes
1
answer
468
views
Stack Exchange thinks that Shog is a elected moderator
I was browsing the API for the list of elected moderators, The API URL is
http://api.stackexchange.com/docs/elected-moderators#pagesize=100&order=desc&sort=reputation&site=stackoverflow&...
2
votes
0
answers
70
views
Can I have more than one OAuth Domain?
I tried to set more than one OAuth Domain, but seems to it's not working. I tried to set them separated by comma or space, but got redirect_uri - must be under an apps registered domain error message.
...
8
votes
2
answers
168
views
Stack Apps homepage truncates user names
A picture says more than a thousand words:
These users aren't called "Bhargav Rac" and "Tunak", but Bhargav Rao and Tunaki.
This happens on both the 'apps' and 'scripts' tabs of the Stack Apps ...
8
votes
1
answer
2k
views
How to make a Stack Exchange API call, using my key
I have a Meteor application and I'm making API calls like:
var urlString = "http://api.stackexchange.com/2.2/users/"+surl;
HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}},
function (...
3
votes
0
answers
57
views
Pluralisation bugs in /apps/oauth
In the Manage your applications page, if 1 user has authorized and has been given an access token, the site shows 1 users instead of user:
In addition, if you have one application, it shows 1 ...
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
82
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 ...
0
votes
0
answers
83
views
Error invalid_request "OAuth request must be over HTTPS" when starting oauth flow
I'm building an application on top of StackExchange's API for a month now. While I was building the OAuth flow to allow users to authenticate using their StackExchange account, everything was working ...
13
votes
2
answers
516
views
ChatterBox - user script that adds inbox integration to Stack Exchange Chat!
Screenshot / Code Snippet
About
I like Stack Exchange Chat, and with the feedbots it tends to be pretty easy to keep up with what's going on with the site. Except for one thing - my inbox.
So I wrote ...
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
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
293
views
Stack Exchange API in Chrome extension
How I can connect my extension to the API? I tried to use this example code for connecting:
SE.init({
clientId: 1,
key: '?',
channelUrl: '?',
complete: function (data) { alert('...
3
votes
1
answer
215
views
Getting global information (Stack Exchange) about a list of users
I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID.
It's possible by querying /users/{ids} but it returns ...
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.
2
votes
0
answers
287
views
The Authentication Problem of WebAuthenticationBroker Class in .NET 4.6
I have a problem when you test the Stack Exchange Authentication API to WebAuthenticationBroker.
If you proceed with authentication, such as screenshots it will continue to appear only in progress.
.
...
5
votes
1
answer
514
views
StatsExchange - low friction, API-based statistics generator
##Screenshot / Code Snippet
##About
StatsExchange is an application that's designed to leverage the filtering and data reporting features of the Stack Exchange API. With StatsExchange, you can ...
1
vote
0
answers
35
views
API returns flags options for election comments while flagging them isn't possible
When trying to retrieve the flag options on a comment, e.g. on the currently active one on Skeptics.SE (but it works for any election):
https://api.stackexchange.com/docs/comment-flag-options#id=...
2
votes
1
answer
59
views
Timeline activities appear to be missing (because creation_date has wrong and useless values)
When I'm looking at my Stack Overflow timeline according to the API, It's missing a lot of events.
According to the API, the last thing I did was posting this answer, five days ago, and you can see ...
4
votes
1
answer
113
views
/questions returns wrong markdown when a suggested edit is improved
The /questions API method returns wrong markdown when the last revisions were made by a suggested edit improved in the review queue. This event leads to two revisions (one for the suggested edit and ...
17
votes
1
answer
255
views
List of Votes by Authenticated users
In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question.
...
12
votes
7
answers
308
views
API V2 Musings: What would you like to see
Answers should take the form of feature requests/modifications that are either obviously beyond the scope of v1 and or have been status-declined or status-deferred
They will be indexed here in the Q.
2
votes
1
answer
221
views
Is there a difference between the API search and the search from within the site?
I'm curious if the search results from the API is calculated the same way as the searches from within the sites themselves?
Is there a difference between the two? If so, what are the differences?
11
votes
1
answer
197
views
"Informed" badge shown as Next badge, but doesn't exist on this site
On my profile page, the Informed badge is shown as the next badge to obtain:
Clicking it even shows a popup with a link to the Tour page, but it looks quite different from other SE sites. Looking at ...
1
vote
1
answer
147
views
Why am I getting an "Access token sent over non-HTTPS request, it has been invalidated" message?
I've been using the Stack Overflow for Teams API for a while now, but since yesterday it stopped working for one of the Teams; that Team also wasn't listed in the Applications (https://stackoverflow....
6
votes
1
answer
259
views
API Inconsistencies
In my opinion, one of the hallmarks of a good API is that it is self-consistent. It establishes easy-to-remember conventions and then follows them.
As I'm trying to adopt the 2.0 API, I'm finding ...
3
votes
0
answers
69
views
API 404's when I try to fetch related tags for the `bin` tag
If you query the API for tags related to [bin]: https://api.stackexchange.com/2.2/tags/bin/related?site=stackoverflow
this simply returns:
Invalid JSON returned and a 404.
(live demo)
But it ...
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 ...
2
votes
0
answers
47
views
Wrong error message when attempting to edit a locked answer
When attempting to edit a locked answer like this one via the /answers/{id}/edit API method, I get an error message:
Account is not allowed to suggest edits
I have the privilege to edit the post, ...
1
vote
1
answer
95
views
Why doesn't the API return a 'locked date' for this locked answer?
This answer has been locked, yet when I ask the API about this post it fails to return a locked_date:
It's a rather old lock, but I can't see anything suspicious in the timeline or the Post History.
-5
votes
1
answer
131
views
wrong results of api /search/advanced
I am querying for results of /search/advanced. The request I am sending is
https://api.stackexchange.com/2.2/search/advanced?key=`key`&access_token=`access_token`&site=stackoverflow.com&...
7
votes
1
answer
92
views
The 'should be closed' description in the flag dialog is missing a word
The 'should be closed...' reason has this description (emphasis mine):
This question is completely unclear, incomplete, overly-broad, primarily opinion-based or is not about Stack Exchange API, app,...
3
votes
1
answer
104
views
Paging fails at 10K items for /search on any site but Stack Overflow
There's a problem with requesting more than 10,000 items.
With Stack Overflow it works just fine.
But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,...
2
votes
0
answers
48
views
Stack Exchange search API not returning results with min, max vote count
Query to search for all question with perl6 tag created between Oct 1 - Oct 5 2019. I'm sorting the results by votes.
/2.2/search?fromdate=1569888000&todate=1570233600&order=desc&sort=...
6
votes
2
answers
1k
views
StackExchange API Java SDK
This project aims to provide a Java wrapper to the Stack Exchange API.
SDK supports Stack Exchange API V2.2
Getting Started
There are two interfaces to the library.
Query Interface
Facade ...
6
votes
1
answer
676
views
How to strip out certain fields from the Stack Exchange API, JSON response?
I want to fetch all my favorite questions on Stackoverflow.com and dump them as JSON. I used this API path:
/2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow
But it is ...
3
votes
1
answer
373
views
Stack Exchange OAuth2, explicit access-token response format does not adhere to RFC6749 standard
I'm using the Stack Exchange v2.1 API. I'm using the explicit OAuth 2.0 flow, but it seems that the access token response step does not adhere to the RFC 6749 standard. Specifically, the Stack ...
1
vote
1
answer
316
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 ...
1
vote
0
answers
257
views
/oauth/access_token not redirecting back to my redirect_uri
I am trying to implement Stack Exchange using oAuth 2.0. I am able to get CODE but, when I try to get access_token through this code:
<?php
if(isset($_GET['code']))
{
?>
<form method="...
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
119
views
Unable to sort /search results by creation_date
I think I may have stumbled upon a bug in /search and I'll try to describe it as best as I can.
What works:
Create a /search query with the following parameters:
fromdate: 2012-01-24
order: desc
...
8
votes
1
answer
142
views
The answer object returns an empty array for tags
Since version 2.1, the answer object has a field called tags. However, sometimes, an empty array or even nothing is returned in this field:
Example with the filter !-*f(6t0Vk01e.
Am I doing ...
0
votes
1
answer
383
views
Serel returns a JSON Parse error for the 'C#' tag
When I try requesting the tag c# via Serel, I get an error.
This is the error I am getting:
INFO][2013-02-25 02:06:42] Making request to /2.0/tags/c#/info?site=stackoverflow&key=mykey
JSON::...
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 ...
4
votes
0
answers
49
views
/revisions/{ids} returns wrong body
Since a couple of days, the /revisions/{ids} method returns a wrong value for the body field. An example is this Ask Different post. When viewing the (only) revision on the website, you see that the ...
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, ...