All Questions
92 questions
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.
...
16
votes
1
answer
1k
views
Registering app for API 2.0 key without Oauth domain
I'm trying to register an app, but it states that I need to add an OAuth domain. But I have Enable Client Side OAuth Flow disabled, because I don't need it right now.
I basically have two questions:
...
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:
...
12
votes
1
answer
159
views
Add close-vote information to the questions object
Would it be possible to add close/reopen vote information to the questions object?
For example, you usually see something along the lines of:
close (3)
when a question has three (current) close-...
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
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 (...
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 ...
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
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.
...
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
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
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
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 ...
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
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
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
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 ...
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
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
49
views
In API 2.0, what happened to questions sorted by "featured?"
I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution:
Shouldn't there be a separate call for ...
4
votes
1
answer
2k
views
API Implicit Authentication with Python
I am working on an desktop inbox notifier for StackOverflow, using the API with Python.
The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
3
votes
1
answer
60
views
Is the "link" URL enough to uniquely identify an "inbox_item"?
I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item?
Is the "link" URL enough to uniquely identify an "...
3
votes
1
answer
5k
views
How to convert a (javascript) date to the API timestamp format?
When I am using this page for the Stack Exchange API /search path, I can see that it is generating time-stamps in this format:
fromdate=1380326400&todate=1380412800
What is this date format? How ...
3
votes
1
answer
2k
views
Invalidating access token vs de auth app?
Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
3
votes
1
answer
540
views
Receiving error "Unexpected domain on proxy URL"
I am currenty trying to write my first ever stack exchange application and was using the SE Jaavascript SDK v 2.0 for this purpose.
I am stuck on the point of authenticating the user. I followed the ...
3
votes
1
answer
37
views
When will the "site" field be absent from an "inbox_item"?
According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
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 ...
3
votes
1
answer
68
views
In the API, User object, what are all these reputation properties?
I am going through the JSON that is resulting from calling the Stack Exchange User API.
I see a bunch of reputation fields.
private Number reputation;
private Number reputation_change_day;
private ...
3
votes
1
answer
133
views
Update the default filter editor to use the API key
When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of:
...
"quota_remaining": 9424,
"...
3
votes
1
answer
65
views
What are the possible errors returned from authentication?
The title pretty much says it all,
I couldn't find in the Authentication doc much about the errors (other than the HTTP code will be 400)?
3
votes
1
answer
32
views
What's the simplest way to detect if a question was asked by a user whose account has been deleted?
What's the minimum filter and simplest way to detect if a question (by its ID) was asked by a user whose account has been deleted?
3
votes
2
answers
95
views
Is it possible to get daily reputation change for a user via the API?
I'm trying to fetch a user's daily reputation change history for a project that's still early in the planning stages. I've been trying to use the "reputation" endpoint, but it seems like I can query ...
3
votes
0
answers
274
views
Login screen without web browser
I'm playing around with the Stack Exchange API, and have just received my first response from the server using the "Hello World" example.
The next step is to allow the user to log in somehow. From ...
3
votes
0
answers
37
views
Example responses
I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
3
votes
0
answers
83
views
Example of inbox items?
Would it be possible to get an example of each type returned by the inbox, Eg careers messages, and whatever meta questions are.
Do careers invites/chat messages/etc have ids? And what is their site?
2
votes
1
answer
60
views
How do I get a user's bio with the SE API?
Am I just missing something here or is there not a way to retrieve a user's bio with the SE API? I looked at the documentation under the "Users" section, but I didn't find anything. Any suggestions?
2
votes
1
answer
130
views
What is the difference between accepted and is_accepted?
I saw there are two fields in answer type.
One is accepted, introduced in v2.2 and needs private_info access.
While another one is is_accepted without these limits.
Can somebody give an explanation?
2
votes
1
answer
54
views
How to get up_vote_count and down_vote_count for a user?
I'm testing the following command:
$ curl -s "http://api.stackexchange.com/2.1/users/55075?&site=stackoverflow" | gunzip -d | python -m json.tool
However it doesn't return up_vote_count and ...
2
votes
1
answer
102
views
Maximum length of "about me" in the Stack Exchange API?
What is the Maximum length of "about me" in the Stack Exchange API?
The one from the /me path.
And in general, where are the length limits published? If anywhere?
2
votes
1
answer
173
views
How do I find all questions/answers per a tag?
Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP.
Per the docs the only thing I can see that will return questions in a ...
2
votes
1
answer
50
views
Is there a way to get the edit URL for a tag wiki from the API?
I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github).
One thing I would like to do is add links for the various tag-related ...
2
votes
1
answer
346
views
"access_denied" error in the write answer at stackoverflow [duplicate]
I am providing an application (windows application), This application can search in the stackoverflow and show results. Then User can write answer for that Question or write comment for that, Now my ...
2
votes
1
answer
89
views
Top questions by tag and period
I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example).
How can I do this?
2
votes
1
answer
49
views
How can I get a list of favorite/ignored tags?
I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
2
votes
1
answer
156
views
Can you identify a user from the access_token?
I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
2
votes
1
answer
211
views
Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?
I found the Scribe oAuth api and I was wondering how a call would work with the Stack Exchange API, since that uses oAuth. I'm sorta green when it comes to oAuth but I'm planning on writing an ...