All Questions
312 questions
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.
7
votes
1
answer
683
views
Application Key and AccessToken are not working for Stack Exchange API? [duplicate]
I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation.
And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
7
votes
1
answer
297
views
Stackexchange oauth2.0 is suddenly failing
No changes in stack apps or my code, it was working fine for a while, suddenly it stopped working now.
I get "InternalOAuthError: Failed to obtain access token"
After more details inspection,...
7
votes
1
answer
125
views
Can we have the display_name field in the /me/associated route?
I'm reading the Authentication documentation and I've noticed that the /me/associated route returns fields like user_id, badges, reputation but not the display_name, even specifying a custom Filter.
...
7
votes
0
answers
517
views
LaServ - A Python/Twisted based flexible command line bot/framework for Stack Exchange
LaServ (a play on Lazers, The Bridge's feedbot and '*Serv' bots, which provide IRC services ) is a Python/Twisted project that I've been poking at since the Christmas break. It's still beta quality, ...
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 ...
6
votes
1
answer
161
views
StackExchange API /sites/ does not return all the sites
I am working on one application that produces timeline of user on every site of StackExchange.. We have some users on Sharepoint.stackexchange.com..
Since I want list of all the sites, I am trying to ...
6
votes
1
answer
68
views
Accept rate not available in the 2.0 API
Would it be possible to add the accept_rate field to both the user and shallow_user objects?
For example, using the 1.0 API, I can see that Jon Skeet has an accept rate of 95%.
http://api....
6
votes
2
answers
268
views
Increase the pagesize limit from 100
Can we increase this limit to something more reasonable (other than 100).
The cap of 100 for posts seems reasonable, however I cannot return the entire site list in one request. Due to the rapid ...
6
votes
1
answer
87
views
As a user, where in the web UI could I find all the tokens I have granted for Stack Apps?
I want to manage or revoke access tokens I have granted to 3rd party Stack Apps, but I have a hard time to find them in the UI.
6
votes
1
answer
142
views
How are filters created?
Can someone explain how Filters are created in the Stackexchange v2 API?
The documentation mentions the following for /filters/create:
It is not expected that many applications will call this method ...
6
votes
1
answer
1k
views
Is there a limit on the data that is returned from stackoverflow API calls?
I have the following query, which is identical to the example they give in the documentation:
http://api.stackexchange.com/2.1/questions?fromdate=1391756400&order=desc&site=stackoverflow&...
6
votes
1
answer
195
views
JavaScript SDK-based workflow never pushes message back from OAuth login_success page on Stack Exchange side
I'm using the JavaScript SDK by Stack Exchange provided with the latest API, and despite following the official instructions & examples it doesn't work - it seems there is a bug which breaks the ...
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
86
views
Descriptions of tag-based badges are incorrect
The descriptions associated to tag-based badges are wrong, they always show 0 instead of actual thresholds:
Earned at least 0 total score for at least 0 non-community wiki answers in the … tag
See ...
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('...
6
votes
1
answer
471
views
BridgeStack — .NET client library with full 2.0 support
BridgeStack
This is a StackExchange API v2.0 consumer library written under C#. It is heavily documented and designed to make it as easy as possible to interact with the API.
Example Usage
To get ...
6
votes
1
answer
58
views
Several staff members are incorrectly listed as elected moderators
Several employees are being reported as elected moderators on sites they haven't been elected on, according to /2.0/users/moderators/elected. I think there was a similar issue reported before during ...
6
votes
0
answers
239
views
localhost API key receives Curl error when retrieving access token
I have registered two apps -- one that will redirect to my website and the other that will redirect to a localhost server that I have running so I don't have to test my code on the site. I have ...
6
votes
0
answers
112
views
The "advanced search" path returns very wrong results for the `q` parameter
I'm trying to search for a string. It's a hardware identifier 10ec:8168 and should be unique to that make/model of chip. Any questions that mention is should be relevant.
But compare the site search ...
6
votes
0
answers
233
views
Net::StackExchange2 - Perl Wrapper for StackExchange API (it's on CPAN)
About
This library is a little labour of love for two things dear to me : StackOverflow, a place where I've learned just so much, and Perl a cryptic language that's giving me perspective. I happen to ...
6
votes
0
answers
213
views
ExchangeLinq: LINQ Query Provider for Stack Exchange API v2.0
ExchangeLinq is a LINQ Query Provider for the Stack Exchange API. It only supports API v2.0. It is currently in alpha state and is being developed for Exchange It, a Stack Exchange client for Windows ...
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 ...
5
votes
2
answers
158
views
Stack Exchange API is returning boolean(false) For 'is_answered' On Question With Accepted Answer
When you view this question you see a closed question which has an accepted answer.
When you get the API info for it you get this:
["question_id"]=>
int(17466804)
["creation_date"]=>
int(...
5
votes
1
answer
356
views
Suddenly getting "Couldn't parse `client_id`"
For years, I've run a local PHP app using GuzzleHttp\Client to download my StackExchange posts.
Today, I'm suddenly getting this problem when posting my client_id, client_secret, code, redirect_uri.
{
...
5
votes
1
answer
211
views
Get the Authenticated User's email?
We're building the website for our local Developer Community. We're trying to enable "Login with Stack Exchange" (we already got LinkedIn and GitHub), but I can't seem to find the User's email when ...
5
votes
1
answer
67
views
Typos in the API 2.0 Documentation
Typo #1:
There are two different objects that represent a user in the Stack Exchange API, the full user object and the smaller shallow_user object. Which is returned depends on the method being ...
5
votes
1
answer
54
views
Can I search over SE using SE API if I have only a username?
How do I can find someone's userid if I have only their username?
For example, my real username is: Zagorulkin Dmitry
My Stack Overflow userid is: 1321404
Are there any API methods for this kind ...
5
votes
1
answer
275
views
After a throttle violation, could the error message include the time when the block will be lifted?
I got my first throttle violation error after running in jsFiddle some example code given to me by a library author in response to a question of mine about how to use their library.
This is the error ...
5
votes
1
answer
119
views
Access token keeps being invalidated
For Stack Overflow Extras (SOX), a few users and myself have seen our access tokens being invalidated very often without any apparent reason.
We aren't requesting new tokens (which would invalidate ...
5
votes
1
answer
198
views
Is there a way to specify how long I want an access token to be valid for?
I am following the explicit authentication path. I am not passing no_expiry as part of the scope.
After the final POST step, I receive back an expires value of 86399 (just shy of a full day).
It ...
5
votes
1
answer
117
views
What is "accept_rate" in the Stack Exchange API?
when I call the /users path, like:
/docs/users-by-ids#&ids=1&site=stackoverflow
In the reply, I get a field called accept_rate.
What is that field about?
5
votes
1
answer
78
views
API documentation pages match some site names incorrectly
The bug is not in the API itself, but in the pages documenting its methods. To reproduce, follow the link http://api.stackexchange.com/docs/info#filter=default&site=math and observe that the page ...
5
votes
1
answer
47
views
/posts/{id}/revisions breaks for posts with [tag:*] content
Attempting to access (at least) the revisions route for a post with a revision involving the [tag:*] syntax causes an error:
Example on Meta Stack Overflow (Post History)
Example on Mathematica (Post ...
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 ...
5
votes
1
answer
56
views
Do calls on the 1.1 API and the 2.0 count against each other's limits?
Do the old 1.1 API and new 2.0 share limits?
Or do my Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
5
votes
1
answer
70
views
filter=total is returning 0?
I'm running a very simple (and contrived) call of:
http://api.stackexchange.com/2.0/users/115730?site=stackoverflow&filter=total
I'm expecting a response of:
{"total":1}
But am getting a ...
5
votes
1
answer
281
views
Cannot authenticate with OAuth2
I was testing an app and suddenly I can't login any more.
Neither my app or the Stack App configuration hasn't changed, so I'm thinking this might be a bug on the API side.
The OAuth error seems a ...
5
votes
1
answer
108
views
Why doesn't the API return suggested edits on tag wikis?
Is there a reason why the API doesn't return suggested edits on tag wikis on the suggested-edits route?
5
votes
1
answer
644
views
Issue with JavaScript SDK
When using the JavaScript SDK to enable client side OAuth flow, I'm running into this issue: Uncaught TypeError: Cannot read properties of null (reading 'postMessage')
And the page gets stuck with the ...
5
votes
0
answers
275
views
Ruby library for Stack Exchange API
About
I have written a Ruby library for accessing Stack Exchange questions, comments, badges and users. I am adding more methods.
Repository
https://github.com/raysrashmi/ruby-stackoverflow
...
5
votes
0
answers
76
views
How can I get the "follower" count for a given tag on a site?
One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
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
1
answer
566
views
Javascript SDK channelUrl for local development [duplicate]
I am trying to get started with the Javascript SDK. I am developing on a web server on my local machine. I get a channelUrl-related error when calling SE.init.
My code:
SE.init({
clientId: ...
4
votes
1
answer
76
views
API for getting multiple (yet specific users)
I am developing one app which will be used internally in our company. We are recommending our colleagues to contribute to StackOverflow. To keep the moral of employees high, I am planning to develop ...
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
87
views
What does "Unchanged in unsafe filters" mean?
Could someone clarify what this means? For example, what does it mean that the short_description field is Unchanged in unsafe filters for a Privilege?
4
votes
1
answer
555
views
Key doesn't match a known application
I'm running into a really weird issue and I would appreciate any guidance on what I'm doing wrong. So I recently applied for an API key here on Stack Exchange and it went through fine. So let's say (...
4
votes
1
answer
214
views
Access token quota
The documentation says that each user gets 5 distinct quotas of 10,000 requests per 24 hours, and as I interpret it, per app.
If an application does have an access_token, then the application is
...
4
votes
1
answer
607
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 ...