All Questions
Tagged with api-v2-beta or api-v2
226 questions
2
votes
0
answers
75
views
How to get user information of Stack Overflow?
I'm currently using the Stack Overflow API to get a user's information (via Stack Exchange).
Is it possible with the Stack Overflow API to get user details?
2
votes
1
answer
115
views
The /questions endpoint only returns around 30,000 items where 400,000 are expected
I use stackr library and I registered an api key as the library mentions "since it increases your daily quota of queries from 300 to 10,000." So I use the following code, which worked fine ...
2
votes
1
answer
195
views
Main Stack Exchange network site API
The original Stack Exchange app has this cool feature where you can browse hot question from the entire network.
But at the current state I am not able to see a “Stack Exchange” site listed in the ...
11
votes
0
answers
410
views
OBSOLETE - Dragon: an automatic editor
OBSOLETE: No longer maintained, and I haven't used it for ages either. May or may not work as long as v2 of the API remains supported
Screenshot
My revision history currently contains a lot of ...
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 ...
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 ...
1
vote
1
answer
79
views
Do my users need to be logged in, for quota?
I am building an application and want to showcase relevant Stack Overflow questions. I have made the request and getting a response, but its responding with a quota value:
"quota_max": 300,
"...
30
votes
0
answers
1k
views
Belisarius - Detecting vandalism on Stack Overflow
Background:
This bot has been developed in an attempt to help capture possible vandalism. This includes:
Removing all code
Replacing all content with nonsense/repeated words
Adding solutions to ...
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 ...
2
votes
1
answer
108
views
Authentication uses # instead of `?`?
I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly!
For example:
https://example.com/#...
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 ...
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:
...
2
votes
1
answer
61
views
The `top_questions` field shows outdated information?
I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was ...
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 ...
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 ...
-4
votes
1
answer
116
views
I Cannot Perform Oauth [closed]
My Clientn id = 4784
and Key = cB0l6XiaOW5l5vsBnBeIUg((.
What do I do for Oauth and to get an access token?
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.
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
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 ...
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 ...
2
votes
0
answers
27
views
/revisions/{ids} returns results where revision_number is always 1
As of now, Code Review Question 59285 has three revisions, excluding the original question.
If I fetch those three revisions using the API, I see that all of them have revision_number set to 1.
That'...
3
votes
1
answer
86
views
How to track the open/closed status over the history of a question?
I'd like to find out the times in the history of a question when it was closed and reopened. How can I do that using API v2?
The closest relevant call I have found is /questions/{ids}/timeline, ...
3
votes
1
answer
81
views
Getting display name of the site on which question is located
When using the /questions method to retrieve a particular question, I'd like to also get the display name of the site on which the question is located (e.g., User Experience). At present, the API does ...
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 ...
3
votes
1
answer
105
views
API returns the last activity date even if asked not to
Using the /questions method, I tried to get upvote and downvote counts, along with question Ids. This is the request I sent:
http://api.stackexchange.com/2.2/questions/857455%3B857454?site=math&...
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.
...
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 ...
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 ...
0
votes
1
answer
66
views
Are the "body", "comments" and "answers" parameters supported in the API version 2.x?
Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x.
Are these parameters not supported in new API? Are ...
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?
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 (...
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
...
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?
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 ...
1
vote
0
answers
518
views
OAuth login fails for Stack Exchange and Facebook, but not Google
I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
2
votes
2
answers
292
views
How to set the width of an image in the body of a question?
I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or style="...
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 ...
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('...
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?
2
votes
0
answers
109
views
400 when posting a question to the Stackexchange API
I am adding a question via the API and I manage to create a preview of my question (See JSON extract below).
{
"has_more" = 0;
items = (
{
"creation_date" = ...
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&...
2
votes
1
answer
118
views
AttributeError with Py-StackExchange
i'm trying to execute this python script :
#! /usr/bin/python
import stackexchange
so = stackexchange.Site(stackexchange.StackOverflow)
my_favourite_guy = so.user(41981)
print my_favourite_guy....
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 ...
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
0
answers
80
views
Why is there a difference between "questions" and "search" in API?
I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results:
https://api.stackexchange.com/2....
1
vote
0
answers
62
views
Has someone implemented code(in javascript) to get last seven days consolidated reputation thorough API?
I am trying to get user's reputation for last seven days. I want to get total reputation user has earned on specific day. Has someone implemented a way to do this in javascript?
I know I can do this ...
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 ...
2
votes
1
answer
82
views
Advanced search API not returning data for "phonegap" tag
I am trying to gather results from the API for the tag phonegap but the API is not returning any data.
I am using /search/advanced and get nothing back for November:
{
"items": [],
"...
4
votes
0
answers
104
views
Implicit OAuth Flow stopped working. Redirect happening to a non existent URL [duplicate]
The following URL is first hit when a user clicks on Login:
https://stackexchange.com/oauth/dialog?client_id=202&redirect_uri=https%3a%2f%2fstackexchange.com%2foauth%2flogin_success&scope=...