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

0
votes
0answers
7 views

Brand new to Stack Exchange API

I am brand new to Stack Exchange API and Android (well, self taught in the last four months). I have been working on creating a school project focused around Android and JSON. My initial idea was to ...
3
votes
1answer
24 views

Using OR with featured questions

My question is similar to: Getting questions that have a specific tag or tags? What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following: ...
1
vote
0answers
16 views

How do I derive the parent question from an answer in the /posts call?

So, I'm parsing every post - question or answer - for a concordance that I am building. (If you're interested, you can see where I am at http://seconcordance.cloudapp.net. Don't worry - full ...
1
vote
0answers
24 views

Is there support for Unicoins in the StackExchange API?

I would like to integrate Unicoins into my StackExchange Palm OS app. I'm using API v2 but I don't see any documentation. ...
0
votes
0answers
22 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) { ...
1
vote
1answer
75 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?
0
votes
0answers
33 views

Stack Overflow question downloader in markdown or HTML format?

I want to download a series of questions from Stack Overflow; is there a tool or API that can do this? The download could be in markdown or HTML format. I basically want an offline reference for ...
0
votes
2answers
99 views

How to search my threads based on some key words?

As I have already many threads in some StackExchange sites, sometime I would like to be able to search among them, for instance, based on some key words. Does anyone know how to do that? Thank you!
3
votes
0answers
40 views

How do I access the greatest hits (questions) via API v2.2.?

The greatest hits (questions) of any stack exchange site (say stack overflow) can be found by visiting the below url: http://stackoverflow.com/questions/greatest-hits I would want to access these ...
0
votes
0answers
26 views

Importing September 2011 data dump into MS SQL

I am trying to import the September 2011 data dump into MS SQL using Stack Overflow Data Dump Import. I am a novice with SQL server projects and would really appreciate your help and suggestions to ...
2
votes
0answers
16 views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
1
vote
0answers
33 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" = ...
0
votes
1answer
20 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) ...
0
votes
0answers
40 views

A script that notifies you about posts related to you?

I'm looking for a script that can notify a user about posts (by others) that include a link to their profile or any of their posts. Does one exist?
2
votes
1answer
39 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?
1
vote
0answers
13 views

Is there an API for adding a user to a site?

With 2.2, I've begun implementing some write features in my app. I've started with voting. When you vote on a question on a site that isn't in a users associated accounts, you get the error "The ...
1
vote
1answer
20 views

I could POST a question but it does not have a `question_id` and it does not show up in my account

I could successfully create a question for my StackApp and I got this response (NSDictionary output): { "has_more" = 0; items = ( { "creation_date" = ...
1
vote
0answers
19 views

How to search answers like is:answer

How can I use the API to search for answers containing particular text or with particular properties? For example, this link allows me to search for is:answer foo, that is, answers containing foo. Can ...
-1
votes
1answer
40 views

Error on Authentication - App Secret Doesn't match

I'm using the explicit OAuth flow and am getting errors when using the "code" value returned after a successful authentication. Can anyone post a sample HTTP POST with a redacted secret value? ...
5
votes
1answer
55 views

My app has to be published first? But it's still under development

Okay, I want to build an App that allows me to create questions on Stack Exchange. I registered it here on Stack Apps but now when I want to create a question I get this message: { "error_message": ...
1
vote
1answer
102 views

Looking for a beginner's tutorial to using the API

I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation. I want some fundamental ...
2
votes
1answer
105 views

How do I fetch one question at a time starting from the latest?

I'm trying to fetch questions one by one, starting from the latest, so that I can create an infinite stream of questions in a Clojure program. I haven't yet been able to do so. I can't just get the ...
1
vote
3answers
544 views

Possible Gzip or data format problems when trying to read JSON.

This is a very basic question. I just want to display a test batch of JSON with PHP, but I think I don't have the correct formatting, since the data received looks garbled when outputed, and it causes ...
0
votes
0answers
24 views

Windows 8 Mobile App for Pro Webmasters(http://webmasters.stackexchange.com)?

I need to use Mobile App ( Windows 8 ) for Pro Webmasters. Is there any Free App available to download and use that one? I have already download an App. It allowed me to see new answers but I was not ...
2
votes
0answers
31 views

How to quickly retag a question from the API?

I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far: $editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . ...
2
votes
0answers
29 views

SSL handshake error after Stack Overflow back on - anything related to SSL certification changed?

I'm building a Stack Overflow app for BlackBerry10. Earlier today (Feb 16, 2014), Stack Overflow was down and after it came back up my app starts to have this issue. My app works fine when it's in ...
1
vote
1answer
36 views

Should HTML or Markdown be passed to /questions/{id}/edit?

I'm making an app that supports editing questions. Should HTML or Markdown source be passed to the body parameter of /questions/{id}/edit?
1
vote
1answer
22 views

Use case for /render endpoints?

In the new v2.2 API there are /render endpoints, such as /questions/{id}/answers/render. What are these for? Testing applications without actually posting anything?
77
votes
4answers
17k views

API “Hello World” code

The Stack Exchange API is based on HTTP and URLs, just like the web page you're browsing now. Except instead of HTML, the responses are all in JSON. Let's say we wanted to call the /info method: ...
0
votes
0answers
19 views

Looking for a script to show countdown timer below posts for easier edits

On Stack Exchange sites, edits that are made within 5 minutes of posting a question or answer aren't counted. This is called the grace period. For example, if you post a new answer, and edit it after ...
4
votes
1answer
33 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: ...
1
vote
1answer
59 views

How to increase the allowed number of API calls?

Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app). Is it possible to get that number increased?
1
vote
1answer
25 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 ...
3
votes
1answer
107 views

Why am I being told to backoff when I'm well within my API limit?

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff. I only run the app once a night and don't really pull that much data. I ...
2
votes
1answer
35 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
1answer
42 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 ...
1
vote
2answers
105 views

Getting unauthorized_error when using OAuth2.0

I want to create a simple desktop application which connects to my account and shows some information in the status bar. I've been trying to authenticate using OAuth2.0 but I'm getting stuck and I ...
2
votes
0answers
35 views

Native Windows client for Stack Exchange sites?

Is there a native Windows client for Stack Overflow and/or other Stack Exchange sites?
5
votes
0answers
75 views

API Parameters: Consolidated Observations

This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data. Perhaps items can be removed when accepted and resolved as ...
2
votes
1answer
48 views

Why am I getting a 404 when trying to post a comment?

I'm dabbling around in /posts/{id}/comments/add, and I'm trying this query: ...
0
votes
0answers
124 views

Problems with decoding API response

I'm trying to receive a response for a regular api call like https://api.stackexchange.com/2.1/me/associated?key=myKey&access_token=myAccessToken As a response I get something like ...
4
votes
0answers
34 views

Is a deobfuscated version of chat js available?

The dev portion of the CDN hosts unminified JS for the main SE sites (you can find it via http://dev.stackoverflow.com ). However, I can't seem to find the same for chat. Is there any link for ...
2
votes
0answers
28 views

Does Stackoverflow track what specific user is searching for..?

Does Stackoverflow track what specific user is searching for..? is that data available through APIs provided..?
2
votes
1answer
31 views

Does the StackExchange API have a WSDL file?

The title pretty much says it all: Does the StackExchange API have a WSDL file to help implement access to the API?
1
vote
0answers
41 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 ...
1
vote
1answer
99 views

How to use the Stack Exchange API in PhoneGap?

I want to write a program using PhoneGap. How can I use the Stack Exchange API in PhoneGap?
0
votes
0answers
34 views

StackX app - problem signing in with Google ID

I have a problem with StackX app on my Samsung Galaxy 4 phone (Android 4.3). I'm logging to StackExchange in general, and StackOferflow in particular, using my Google ID. The app does not recognize ...
1
vote
0answers
53 views

What should I put in redirect_uri for implicit OAuth 2.0

From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error ...
2
votes
1answer
51 views

V2.1 API body HTML has unclosed li tags

The Stack Exchange API (with a safe filter) is returning question body content with malformed HTML, specifically <li> elements that do not have closing tags (and no valid parent). I've seen ...
1
vote
1answer
78 views

Does the API key need to be kept secret?

For a project of mine, I need to know if I need to keep the API key secret or not. If I do, I'm not sure how I'm going to effect its protection, as Emacs Lisp files are stored in plain text (and ...