All Questions
144 questions
32
votes
6
answers
7k
views
Stack.PHP - Powerful and Extensive Library for Accessing the Stack Exchange API - Including Full Support for v2.0.
Don't know where to start?
Begin by checking out the Stack.PHP website.
Then head over here for a quick tutorial on setting up and using Stack.PHP.
About
Why you should use Stack.PHP:
Stack....
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 ...
127
votes
4
answers
22k
views
StackPrinter: The Stack Exchange Printer Suite
UPDATE:
Version 1.1 - MySE section, PrettyPrint, StackPrinter API
Screenshots:
App Homepage
Printable view
Logo:
https://www.stackprinter.com
StackPrinter is a website that pulls the main details ...
119
votes
6
answers
12k
views
Stacky - A .NET client library (Full support for API v2.0)
Stacky - A .NET Client Library
The same great library now supports the 2.0 API!
https://bitbucket.org/lfoust/stacky
Sample Code
IUrlClient urlClient = new UrlClient();
IProtocol protocol = new ...
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:
...
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 ...
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.
...
1
vote
1
answer
226
views
stackauth throwing 503 (in html format) after just a few /users/{id}/associated requests
After 5-8 successful requests 503 error, in html format, are being thrown.
The requests are unique and consecutive, no api abuse is occurring.
A related, but critical, concern is that any error ...
10
votes
0
answers
280
views
Tell us that POST is required to write
While troubleshooting /posts/{id}/comments/add in order to answer Why am I getting a 404 when trying to post a comment?, it was noticed that the API path in question only responded to POST requests. ...
9
votes
1
answer
171
views
Is there any support for Area 51 in the new API?
Does the new API support Area 51? Will there be support in the future?
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 ...
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 (...
6
votes
0
answers
434
views
Resurfacing bug: "could not parse proxy url" error message
According to this question, the "could not parse proxy url" bug was solved more than 2 years ago.
However, when using the client-side OAuth flow, the aforementioned error message appears when ...
54
votes
9
answers
4k
views
OBSOLETE - New Q! - Google Chrome Extension notifies you of new questions of interest and inbox messages
Obsolete. Code last updated 7 years ago. Chrome store links are long dead. Source code still available though.
Screenshots
A new question notification in Chrome 6 in Windows XP
A new answer and ...
38
votes
2
answers
3k
views
StacMan - .NET client for Stack Exchange API v2
Features
Supports all Stack Exchange API V2 methods through version 2.1
Easy to use: one-to-one mapping between StacMan and API methods/params
Async is easy: methods return Task<T> so they're ...
21
votes
1
answer
233
views
Can we have some debug endpoints for testing corner cases?
After encountering a throttle violation today (which I posted in another question), it occurred to me that although I've put together code to handle "backoff" conditions, and potentially throttle ...
18
votes
1
answer
278
views
Accessing Authenticated User's Close/Delete History
I'm working on the PHP chatroom's cv-pls backlog UI. Many users and myself would like the ability to track which questions we have already handled though close/delete votes. To be able to do that I ...
13
votes
0
answers
2k
views
Stack.JS - Powerful Event-driven Library for Accessing the Stack Exchange API in JavaScript.
About
Stack.JS is the JavaScript equivalent of Stack.PHP and aims to replicate the request structure of that library as much as possible. The library is still a long ways from being complete but is ...
9
votes
1
answer
321
views
Could/Should the API evolve more agile rather than being blocked by v2 writing (and authentication) features?
The activity on Stack Apps has dwindled noticeably; this might be a topic for its own discussion, however I'd like to revisit the API roadmap beforehand to set a proper stage and expectations in this ...
7
votes
2
answers
548
views
After successfully retrieving 180 pages, the API gracelessly, semi-silently, fails
I'm trying to synchronize tags using the Stack Exchange API and this works for about 180 pages, but around 180 pages it always ends with an exception that seems to indicate that there is no HTTP ...
6
votes
1
answer
140
views
API throws improper error when "date" parameters are the same
When using the Stack Exchange /questions API using the same date for fromdate and todate I get a 500 internal server error.
Using different dates appears to work OK but specifying the same value ...
5
votes
2
answers
158
views
'Informed' badge doesn't exist on site, but is still being promoted
The issue of a non-existent badge being promoted has been brought up before, but the following still happens:
This will likely disappear once I get another badge (soon after posting this question :), ...
5
votes
2
answers
172
views
The /search route is ignoring the answers parameter.
The answers parameter was recently added to most of the requests that return a list of questions. See: Don’t include answers in question lists by default
It looks like the /search request got left ...
3
votes
1
answer
4k
views
OAuth redirect not completing
This is the URL that I'm entering (in Safari, cleared website data and cache; my app, uses own Cookie jar; and incognito chrome)
https://stackexchange.com/oauth/dialog?client_id=23&scope=...
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 ...
2
votes
1
answer
183
views
Implicit Flow Isn't Redirecting
I'm using the WebAuthenticationBroker to allow users to log in to their account:
var accessToken = "";
var uri = "https://stackexchange.com/oauth/dialog?redirect_uri=https://localhost.com&...
149
votes
9
answers
6k
views
StinkingBadges - Track your progress towards long-term badges
Introduction
I was curious how far away I was from Generalist, and there are some data explorer queries that can show you your progress, but I thought it should be possible to make this work with the ...
16
votes
1
answer
450
views
Bug in the StackExchange Api ? getting "could not parse proxy url" when user not logged in
I think I may have stumbled upon a bug in the Stack Exchange JS API
I'm having a problem getting its authentication to work properly, and I just discovered that the same problem exist in the official ...
14
votes
2
answers
279
views
Get favorited tags of user
This was requested in 1 and declined because of a missing authentication method.
Now that authentication is in place, is there a way to retrieve the favorited tags of a user (myself)?
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.
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 ...
11
votes
0
answers
144
views
The field body_markdown is not returned for comments [duplicate]
Using the method questions-by-ids to get the comments on a particular question, I do not get body_markdown returned despite it being selected in the filter.
Here is the test query to reproduce the ...
9
votes
1
answer
630
views
Keep getting HTTP 406
Not sure if this is a user or an API problem, but I keep getting HTTP 406 Not Acceptable when making API calls (for example http://api.stackoverflow.com/0.8/stats) from either IE 8 or Chrome 6.
Here ...
8
votes
1
answer
124k
views
sorting ascending vs descending
I don't understand the difference between ascending and descending?
Surely ascending means the most active/recent/popular/A first, and descending means the least active/recent/popular/Z first?
But it ...
7
votes
1
answer
216
views
Add the 'people reached' count to the API?
Can we have the people reached statistic added to the /users/{ids} method?
The response could simply be:
"people_reached": 1000
I'm asking because it would be cool to get a network-wide number.
6
votes
1
answer
226
views
Why these questions do not have a title?
Hitting the following /questions route:
http://api.stackoverflow.com/1.0/questions/74?pagesize=1&page=1
the endpoint returns this JSON data:
{
"total": 1,
"page": 1,
"pagesize": 1,
"...
6
votes
3
answers
2k
views
API usage triggering 503 (Too Many Requests)
Update:
I generally try to back any claims of bugs and shortcomings with evidence.
I have prepared a test page which you, dear Stack Overflow staff and my fellow developers, can use to ascertain ...
5
votes
0
answers
141
views
Filter doesn't consistently return comment bodies
I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields:
answer:
answer_id
body_markdown
comments
...
5
votes
1
answer
146
views
The API /questions/{ids}/timeline path doesn't return several items that occurred after the fromdate parameter
I need to get all the question activity after some particular time. I am using the timeline API, like so:
/questions/20032212/timeline?fromdate=1384705610&site=stackoverflow.com
But it ...
5
votes
2
answers
506
views
The API Key does not work
I have registered an app at https://stackapps.com/apps/register, got a Key right away after I have submitted.
But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
5
votes
0
answers
156
views
Selective API oriented transcript fragment of Jeffs Code Camp Video Interview.
This is a very selective API oriented transcript fragment of Jeffs Code Camp Video Interview:
Purpose
Please note that this transcript fragment is mainly a supporting post to decrease the length of ...
4
votes
2
answers
253
views
Is it possible to access data in real-time using the Stack Exchange API?
I want to show an animation of:
Questions being asked and answered in the most popular tag
Comments being posted
New users joining
All in real time.
Is there access to real-time data?
4
votes
1
answer
2k
views
API endpoints do not set Access-Control-Allow-Origin, so CORS requests fail
This looks like it might have been requested before:
Support Cross-Origin Resource Sharing
In order for CORS to work, the Access-Control-Allow-Origin header (and related headers) must be set. With ...
4
votes
1
answer
12k
views
/users/{id}/reputation != xxx.com/reputation
I realize that the shape of the data coming from the API may be different than that reported by the xxx/reputation url, but there seem to be some striking disparities.
see 08/12 and 08/11 in both ...
4
votes
1
answer
338
views
Login using Google fails saying OpenID 2.0 accounts for Google has gone away
Recently I have received complaints about my app suggesting that logging in with a Google account shows a warning message that OpenID authentication has gone away. When I tried to log in with my own ...
4
votes
1
answer
66
views
Reputation changes from accepting answers to questions are not included in reputation results
When querying the /users/{ids}/reputation API route, the results don't include the +2 reputation changes from accepting answers.
None of the reputation results from my own reputation history have a ...
3
votes
1
answer
891
views
Need some help verifying 503 throttle issue
Update:
We've confirmed the issue... fixing it
is taking more time than anticipated.
– Kevin Montrose
Color me happy.
The throttle is now applied to api.stackoverflow.com so we have an ...
3
votes
1
answer
136
views
Problem getting a users questions within a date range
I'm having a problem returning a list of users questions within a given timespan. I understand that the documentation ( http://api.stackoverflow.com/0.8/help/method?method=users/{id}/questions ) that ...
1
vote
1
answer
315
views
Implicit OAuth flow is not working when the user is not logged in.
Here is the URL I am trying to use:
https://stackexchange.com/oauth/dialog?client_id=120&scope=read_inbox,no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success
This works ...
0
votes
1
answer
151
views
min/max parameters are incorrectly documented as date - confusion and crippled libraries ensue
I have noticed this on all sorted routes.
The min/max say that they are context sensitive to the sort type yet are documented as date.
How is a date min/max valid when sorting by, for instance votes?...