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

3
votes
1answer
95 views

No website (yet), how to register?

I just started developing a Stack Overflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...
1
vote
0answers
52 views

How can I use the Stack Apps API? [duplicate]

I want to create a stack app and post and read from it using rest APIs; are there any examples? Is it possible to post questions and answers? I currently have registered for a Stack Apps OAuth client ...
4
votes
1answer
66 views

Access for Statistical Analysis using the Stack Exchange API

We are small company in Malaysia and intended to do a small research to analyze technology trends. We would like to use the Stack Exchange API for this purpose but we are afraid it might get detected ...
1
vote
1answer
117 views

Implicit OAuth authentication is not redirecting

I'm trying to build a simple iOS application , with login feature to stack overflow network. I've read the documentation and choose to use Implicit OAuth2.0. I've already registered an StackApps, so ...
2
votes
1answer
48 views

/users/{id} and /users/{id}/reputation disagree over +2 accept-answer bonuses

I am using the 2.2 API to display user stats by quarter, but I also want to display reputation changes between any 2 dates. I use the /users/{ids} API to get the summaries. For example, user 2403309 ...
4
votes
2answers
1k views

API compliant request throttle implementations

Balancing compliance with Request Throttling Limits with maximum allowable throughput in our applications and libraries with any reliability requires self-throttling. This post is meant to be a repo ...
6
votes
2answers
538 views
1
vote
0answers
41 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
75 views

Java exception when user age or location is unspecified in returned JSON

I am brand new to the 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 ...
2
votes
1answer
38 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. ...
2
votes
2answers
84 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 ...
2
votes
0answers
33 views

How switch user accounts on the same device?

The Problem I'm integrating Stack Exchange API on iOS (iPhone). I've run into a situation where I can't log out and authenticate with a different account. I am stuck with the first account that I ...
3
votes
1answer
44 views

How to get a list of sites that a user is a member of?

After spending many hours trying to post a question using /questions/add and repeatedly getting the error message "The account associated with the access_token does not have a user on the site", I ...
4
votes
0answers
32 views

API response doesn't indicate the nature of a rejected question POST

I have a question, which I post to Stack Overflow. The addition of the answer gets rejected and I know that it is due to the fact that I used the tag coredata rather than core-data. When I do this on ...
5
votes
1answer
40 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: ...
4
votes
0answers
55 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
0answers
69 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 ...
3
votes
0answers
44 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 ...
1
vote
0answers
38 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 ...
1
vote
0answers
79 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" = ...
1
vote
0answers
54 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?
3
votes
1answer
52 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
20 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
32 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" = ...
2
votes
1answer
111 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
755 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 ...
2
votes
0answers
36 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
43 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
23 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?
4
votes
1answer
58 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
43 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 ...
2
votes
1answer
61 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
86 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 ...
4
votes
0answers
60 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
83 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 ...
5
votes
0answers
58 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
35 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
37 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
103 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
1answer
119 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?
1
vote
0answers
53 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
148 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
99 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
173 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 ...
2
votes
1answer
35 views

Downloading data en masse

I'm currently in the early stages of developing an Emacs major mode for the Stack Exchange Network. I'm a little torn on how to set up the use of the API within the mode. Is there a way to download ...
0
votes
1answer
43 views

How do I make sure my access_token gets passed?

I am authenticating via the explicit method, but I still get a 502 throttling error. Is my key not getting passed? Do I need to pass the access_token with the request? if so. How do I do that. I am ...
0
votes
1answer
38 views

Can I search for the most favoured questions via the API

This came to me after reading this post. I had a look at the API page and I wanted to find a way to search for the most Favoured questions. Is there a way to do this? I tried to manipulate the URL ...
0
votes
1answer
74 views

trying to query answers for a question using the stack.php

I am trying to query stackoverflow and route it to my website via the following <?php require_once './stackphp_source_0.4/src/api.php'; require_once './includes/function.php'; // Begin by getting ...
2
votes
1answer
105 views

What is the right way to create a Stack Exchange API filter?

I'm trying to create a filter by following the documentation, but a few things are quite unclear: How do I create a filter that does not have a base filter? I'm creating a filter without a base so I ...
0
votes
1answer
102 views

stackapplet and Google account

I am trying to use Stack-Applet for Ubuntu (http://www.omgubuntu.co.uk/2010/11/stackapplet-1-4-released-ubuntu-indicator/) and I have registered on Stack Overflow using my Google account. I guess ...