You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.

learn more… | top users | synonyms

-1
votes
1answer
156 views

How to get tags using the API?

I have a requirement in my application to show the technical skills (tags) in auto-complete format like Stack Overflow has. Is there any example to get the tags from Stack Overflow using JavaScript ...
1
vote
1answer
42 views

How to get the “People reached” stat of a user, using the API? [duplicate]

I checked the user ids and advanced search API docs, but I could not get this stat. Does Stack Exchange provide this info in the API? ...
2
votes
1answer
46 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? ...
1
vote
0answers
22 views

How to get all posts that a user voted on? [duplicate]

I know how to get all questions that I favorited using /docs/me-favorites. But, how can I get all answers (or questions) that I voted on? Like those in the upvote history.
4
votes
1answer
43 views

Is it possible to have no sorting - to just show results in order of inputted IDs?

I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with. So, if I send IDs 1;2;3;4, I would like to receive the JSON sorted in ...
1
vote
1answer
132 views

Message Notification App for AskUbuntu and/or StackExchange

I was wondering if there is any way to get notified in due time when someone replies to my posts/comments on AskUbuntu.com or StackExchange.com, other than via email notifications. What I have in ...
0
votes
1answer
56 views

Load answers to a question with review-like wrapper HTML

I'm trying to implement this feature request in SOUP, but I'm having trouble figuring out a good way to actually load the answers. I can just load the full question page (like this one, for example) ...
1
vote
0answers
17 views

Using Stack overflow [duplicate]

Can we use Stack Overflow API 2.2 (or any other latest version) to extract the information (Threads, Answers, users etc), as mentioned in the documentation in https://api.stackexchange.com/docs. We ...
3
votes
2answers
224 views

What is the correct way to get the stackoverflow.com URL for an answer via the API?

A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
2
votes
1answer
46 views

Question up-voting is not working from my code?

I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route. But in the log, it's just showing something like: ...
1
vote
1answer
212 views

How to get Question/Answer body in the API response using filters?

I am specifically looking to get the question/answer body back. Is it possible? I am looking through the API documentation and I'm confused about how to make a call with filters. Sample call I'm ...
1
vote
1answer
28 views

How do I get the body of an answer, as well as the author? [duplicate]

I am using this call to get the body of an answer : http://api.stackexchange.com/2.2/questions/5877753/answers?order=desc&sort=activity&site=stackoverflow But this only gives the author of ...
1
vote
0answers
17 views

How to install the Stack Exchange API 2.2? [duplicate]

I am sorry, this may seem obvious but I really can't find any installation guide/link anywhere. I need the Objective-C API.
2
votes
1answer
22 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 ...
3
votes
1answer
213 views

Is there an offline copy of the API?

I'm trying to find a way to get all the information in the API in one printable PDF, complete with the examples given in the documentation. Is there anyway I can do this?
5
votes
1answer
442 views

Desktop login URL: WebBrowser hangs (.NET) - JavaScript endless-loop

I am using .NET 4 and trying to use the desktop authentication via the web-browser control (WPF and/or WinForms; StackApp NNTP bridge for accessing StackExchange forums (like StackOverflow)). It seems ...
2
votes
0answers
30 views

Ability to support json type for post request

Right now we it uses url encode to post authenticated request. Maybe an option for application json?
1
vote
0answers
31 views

How can i extract a user information on Stack Overflow using Python and stack Overflow App

I am new to python. I want to extract a user bio, answers, questions they made in Stack Overflow. Can I do that using the API? For ex: can I extract the user: name bio and number of questions ...
1
vote
1answer
147 views

JSON parsing, won't work

I'm using the Stack Apps API. Retrieving questions by tags works well, and the JSON is returned. Now I need to parse the JSON and there is something wrong with my code: $.ajax({ url: ...
3
votes
1answer
25 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
1
vote
0answers
131 views

Error: Cannot return to provided redirect_uri

I am trying Stack Exchange OAuth in local Magento site. I tried this URL: $url = ...
1
vote
0answers
48 views

Would it be a problem if my server polls the API every minute or so about 1 of my questions on my list?

I know that officially identical requests cannot be done in more than one minute. But would it be a problem if I had a server which had a list of question IDs (say 10 per user, so reasonable max ...
1
vote
0answers
33 views

Does a user only need to log in once to access all sites?

When I use stack exchange sites on my desktop web browser, I log in once using stack exchange ID and then when I navigate to sites I don't belong to, it automatically associates me with the new site. ...
4
votes
1answer
43 views

404 “This Method cannot be called this way” when getting user's inbox

I'm doing a POST request to https://api.stackexchange.com/2.2/users/<id>/inbox to get the users' inbox items. However I'm getting a 400 error on the request, and a JSON body saying it was a 404 ...
2
votes
0answers
87 views

Is there any app that could extract and manage questions from Stack Overflow?

I'm looking for help with a Stack Overflow application that could do the following things for me: Extract the top voted questions at a given date and tag Extract the answered questions of some given ...
1
vote
0answers
35 views

Official support for SE apps

Is SE a company, or to put it another way, is it possible to develop apps for SE itself, rather than as a 3rd party? I find it frustrating to get to a complete list of my sites, you have to go to ...
2
votes
1answer
37 views

After user login, how do you ask user for permissions?

For an app on Windows Phone, I'm missing the page after you enter your login credentials and click submit. When I debug on my device, after I log in I obtain the correct response Uri with access ...
2
votes
1answer
24 views

Where are the built-in filters?

On api.stackexchange.com/docs/create-filter it states: there are a number of built-in filters which cover common use cases. Where can I find them? Can you make built-in filters a link? I need ...
3
votes
1answer
32 views

The StackWrap4J java wrapper gives nothing but `JSONException`s?

I'm using the StackWrap4J java wrapper for the Stack Overflow API. But every code I try, that uses methods of this java wrapper, ends with this JSONException: ...
2
votes
1answer
102 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 ...
2
votes
0answers
34 views

API error: 500, “this error has been logged” when retrieving questions

I am using the following URL to get new questions: https://api.stackexchange.com/2.2/questions?pagesize=100&page=1&fromdate=1423639578&site=stackoverflow&key=MY_KEY_HERE I get: ...
2
votes
0answers
157 views

OAuth2 Authentication Redirection error in PHP

I'm trying to authenticate into Stack Exchange's API with the following URL: ...
51
votes
2answers
9k views

How to list your application/library/wrapper/script here

If you've created an application, script, or library for use on the Stack Exchange network, that's fantastic! Now publicize it by creating a question with the correct tag: app ...
2
votes
0answers
76 views

Array boolean values are returning empty

I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
3
votes
1answer
28 views

Limiting the number of items returned by a request?

How can I limit the amount of items returned to me when performing an API call? I only want the top 10 most commonly used tags, by default I'm sent back 30. EG: ...
1
vote
0answers
24 views

Showing Different user on posting a comment on test environment

I am testing stack exchange API to post a comment to the test environment(http://meta.stackexchange.com/questions/3122/formatting-sandbox).I am providing the client_id and key for my current ...
0
votes
0answers
12 views

Unable to post a question through api again [duplicate]

I am testing an application to create a question on Stack Overflow. After i created my first question through the API , i am not able to do so as it says "we are no longer accepting questions from ...
3
votes
1answer
48 views

Question's body rendering in Android's webview

I've developed an app that get questions from Stack using REST APIs and shows them in a WebView. My problem now is that the body often contains placeholders that must be "replaced" with the real ...
0
votes
0answers
22 views

Okay to use Stack Exchange's icon? [duplicate]

I'm developing an app for the Stack Exchange network, and I'd like to use SE's icon as a texture for my app's icon. Is this permitted? (from a legal point of view, I mean)
1
vote
0answers
35 views

How can I show recently answered questions and answers in my blog site?

I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this. Also, from what I can see, in order to use the API a user needs ...
2
votes
2answers
73 views

How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?

I recently built a userscript for Board Games Stack Exchange. On page load, it scans questions and answers for certain plaintext patterns and replaces them with some HTML, making the posts prettier. ...
1
vote
0answers
41 views

How to retrieve the body of an accepted answer using the API?

I would like to retrieve accepted answers with complete answer body for a given question (using id) or a free form text (q). I have tried the /search/advanced and /search/excerpts routes -- setting: ...
0
votes
0answers
25 views

Is it okay to use the Stack Exchange API to get all tags as a one time call for a commercial application? [duplicate]

I want to get all tags that stackoverflow lists, and I can do that with: https://api.stackexchange.com/2.2/tags?site=stackoverflow I'm only going to make the request once to get a list of all tags ...
2
votes
1answer
71 views

Request for script, or fix, to add Edit-Reason checkboxes

I've found a Stack Exchange userscript which looks GREAT - it would make things so much easier for me: The Edit summary options script Unfortunately, it doesn't work at all! I'm not sure why. My ...
2
votes
1answer
49 views

Unable to download data from the API using UNIX wget?

I want to download the JSON data from this sample API call into a file. I tried using wget, like so: wget -O ~/ks/json.txt ...
2
votes
1answer
33 views

Obtain JSON equivalent of a full Q&A HTML page?

I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange ...
1
vote
1answer
78 views

Getting questions that have a specific tag or tags?

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags? EG: All Stack Overflow questions asked in the past 2 months tagged 'ruby'? All Stack Overflow questions ...
0
votes
0answers
12 views

Get the list of question ids under a particular tag? [duplicate]

I am new to the Stack Exchange API. Stack Overflow has a tag named java, How do I get the list of all questions' ids that are tagged as java?
0
votes
1answer
59 views

Get UserId by passing email ID in the Stack Exchange API?

The Stack Exchange API is mostly based on 'ids'. IE /2.2/users/{ids}/top-tags?site=stackoverflow How can we get {ids} for a particular user using his email id or name? Is there any method available ...
2
votes
1answer
36 views

What's the difference between the Stack Exchange API and the Stack Overflow API?

I heard about the Stack Overflow API. Is there a Stack Overflow API available. Or is it the same as the Stack Exchange API?