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

2
votes
0answers
30 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) { ...
0
votes
0answers
43 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
41 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
28 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
28 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
46 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
27 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
41 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
44 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
16 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
21 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
21 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
56 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? ...
2
votes
1answer
158 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
567 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
33 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
37 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?
0
votes
0answers
21 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
40 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
64 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
32 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
112 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
42 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
52 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
2answers
129 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 ...
3
votes
0answers
44 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
79 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
63 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
169 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
39 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
29 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
33 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
54 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
103 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
39 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
74 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
60 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
96 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
28 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
0answers
21 views

Can we start own website using stackexchange api? [duplicate]

i want to start my own question answer website using stackexchange questions and answers display on my site. so can we use stackexchange api? If yes then hw or any sample code or open source is there ...
0
votes
1answer
39 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
34 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
64 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 ...
1
vote
1answer
77 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
97 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 ...
1
vote
1answer
34 views

Can the API support per-item questions?

What I'm seeing so far is that the API is for a site-wide collection of questions. Can someone use the API to decorate a website's products or articles with questions and answers (on a per-item ...