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
1answer
40 views

Better way to find activity changes in terms of API Usage

I am coding an application that notifies events in Stack Exchange accounts. I want to notify about badges/reputation changes, and also I would like to notify whenever a new answer or comment is posted ...
2
votes
1answer
64 views

Does Lucene back the API search now?

With the announcement that Lucene is being used for site searches does it cover the API as well?
2
votes
1answer
69 views

Stack.PHP does not seem to work on sites that are sub-domains of stackexchange.com

The documentation explains to crate objects using the site's url minus the TLD which appears to work fine. $service = new Post_Exchange('gamedev', null, 0); returns what appears to be a valid ...
2
votes
1answer
157 views

SOAPI data fails on WP7

Im trying to simply get all of the recent questions using Windows Phone 7. But I keep getting an ObjectDisposedException My Code is not complicated: public void BeginGetAllRecentQuestions() { ...
2
votes
1answer
73 views

What exactly is the 'user' on a post_timeline?

What exactly is the 'user' on a post_timeline? I am assuming that it is the user responsible for the action, if not the user, but I cannot be sure as the JSON structure used to document the results ...
2
votes
1answer
103 views

How to retrieve notifications for a given user.

There seems to be a few of these "dev-tips" so I'll share a problem I have. To notify a user of comments directed to them, we use the users/{id}/mentioned method. However, notifying a user of ...
2
votes
1answer
108 views

what is the url for a *.stackexchange site's api?

from my understanding, the documentation suggests that we can use the api against any current *.stackexchange website what would be the url for the api for one of these ? e.g. ...
2
votes
3answers
106 views

Ideas for dealing with this pagination problem?

Okay, here is the problem: Certain questions contain more than one page's worth of answers. Given a sort method and an answer id, how can we figure out which page the answer is on? Any suggestions ...
2
votes
1answer
50 views

/users/{id} and /users/{id}/timeline - filter parameter?

Both /users/{id} and /users/{id}/timeline say they take a filter parameter for users' names, but it seems to do nothing. Are they not supposed to be there?
2
votes
0answers
36 views

Show statistics of my community ads, on all sites

In January I posted community ads to various sites I belong to. From time to time I want to see how they perform, so for each site I craft the display URL manually and launch it in a browser: ...
2
votes
0answers
63 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
2
votes
0answers
32 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?
2
votes
0answers
90 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 ...
2
votes
0answers
91 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 ...
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
28 views

Can I ask the API to tell me to back off? [duplicate]

I'm creating a bot that collects all tags from a given site (and over all sites in the network). I would obviously like to run this bot in as little time as possible, but I also do not want to overly ...
2
votes
0answers
167 views

OAuth2 Authentication Redirection error in PHP

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

StackPrinter Greasemonkey script is broken

I have previously installed and been working with the "StackPrinter" Greasemonkey script -- which displays a button on each Stack Exchange question to print that question with StackPrinter. Now, that ...
2
votes
0answers
34 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 ...
2
votes
0answers
37 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 ...
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
0answers
36 views

Is it allowed to sell an app or get revenue with the use of the API? [duplicate]

I've been reviewing the terms of use of the API, but I prefer to ask my question straight here in order to be 100% sure. Is it allowed to create an app that: is paid, which revenue goes to the ...
2
votes
0answers
31 views

Client Side Flow security problem

I'm not pretty sure, but if my app is enabled to Client Side Flow Authentication, then anyone with my client ID (easily found for being embedded or by sniffing the initial request) would be able to ...
2
votes
0answers
53 views

Is it safe to change the OAuth Domain?

I'm about to develop a small application that will use the Stack Exchange API. I understand that I have to provide an OAuth Domain when I register the application with Stack Exchange. Right now, I am ...
2
votes
0answers
45 views

Clarification on related tags for a tag returned by API

I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following: Returns the tags that are ...
2
votes
1answer
27 views

Is data retrieved from /events dependent on the access token used to retrieve it?

This may seem like a bit of an unusual question at first but I'll try to explain where it's coming from. My PHP wrapper (Stack.PHP) offers a caching class that follows the guidelines in the API docs ...
2
votes
0answers
33 views

Fairly subtle filter bug between 8 am and 10 pm UTC Dec. 29th

This is a public service announcement about a bug that most people probably didn't notice, but might be biting you pretty hard about now. Between 8 AM and 10 PM UTC December 29th, filters generated ...
2
votes
1answer
146 views

Where do I get UUID for fetching user's associations?

Yesterday (09/17/2011) I could go to my stackexchange site's profile page and grab UUID from the url: I could use this UUID to fetch user's associations with stack exchange network. Now said URL ...
2
votes
0answers
25 views

FAQ's URL for any SE Site?

Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant): Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
2
votes
0answers
53 views

How do I grab the CSV from a Data Explorer URL?

I'm building an app that works by users punching in big lists of questions. And I want them to be able to use the Data Explorer to create these lists. My preferred way of getting the data would be a ...
2
votes
1answer
219 views

Which nested objects and arrays are optional?

I am handcrafting a JSON Schema for the API, and there is some meta missing from the nested 'returns' objects and arrays. The relevant information I need is: if it is an array, can it be undefined ...
2
votes
1answer
92 views

stackapps favicon inconsistent rendering

A lot of us are using the favicon in our apps as it is a quite convenient size. It seems that IE does not like the stackapps favicon palette and renders the background black. While I do cache the ...
2
votes
0answers
34 views

/users/questions with content is very latent

I am seeing response times of up to 30 seconds for a page of 100 questions. http://api.stackapps.com/1.0/users/14/questions?answers=true&body=true&comments=true&page=1&pagesize=100 ...
2
votes
0answers
104 views

How the apps-libraries will be judged for the contest?

Do you know how the apps-library will be judged in term of awesomeness? Is there something more official than Jeff Atwood's contest post on the blog?
2
votes
0answers
73 views

Why have routes /badges/name and /badges/tags been favored over respective query parameters for /badges?

I realize that the API is frozen, hence tagging this as support rather than feature-request or bug - I'm irritated about the two routes /badges/name and /badges/tags: They seem to simply filter down ...
2
votes
1answer
45 views

consistency for array parameters

It would simplify the api and consumption there of if all parameters that accept multiple items used a common delimiter. We have semicolon and space that I know of so far. Eliminating space as a ...
2
votes
0answers
35 views

How should I understand “timeline_type”: “votes” record in question timeline?

Take a look at the partial results of this query: { "timeline_type": "votes", "post_id": 2544061, "creation_date": 1269993600, "owner": { // omitted for brevity }, "action": "7 ...
2
votes
1answer
83 views

Why answers don't have a “locked” attribute?

When looking at an answer, I can see that there is no locked_date attribute, like there is for questions. IIRC, answers can be locked by moderators. Also, if a post is unlocked, is that field ...
1
vote
5answers
130 views

Using meta.stackoverflow.com as a support channel for a stackapp?

Is it okay to recommend using meta.stackoverflow.com as a support channel for stackapp I've written. For example, say I had been the person who wrote StackPrinter, on the bottom of the home page ...
1
vote
3answers
166 views

What is the best way to provide support for an unknowable number of StackExchange sites?

I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
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
80 views

Stack Exchange API not realtime?

I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more. Is this API not ...
1
vote
2answers
122 views

How to access the text of the page returned using curl?

This is what curl http://api.stackoverflow.com/1.0/users/113124/favorites returns ...
1
vote
1answer
134 views

I can't get a response for /questions/{id} in Chrome Extension

I'm writing a Chrome Extension that queries the API. Using jQuery, I have the following code called from my background page: $.ajax({ url: 'http://api.stackoverflow.com/0.8/questions/' + id ...
1
vote
1answer
167 views

Integrating API into Drupal?

I successfully registered for an API key. What should I do now? I have installed Drupal. Is there any sample/notes on how to proceed with accessing the API from the application so I can get to ...
1
vote
2answers
67 views

1.1 sites - SO and MSO

In 1.1 with the new related sites, is it intentional that MSO and SO are not related?
1
vote
2answers
48 views

Total Number Of Answers

I need to find the total number of answers submitted by a user on stackoverflow. I tried the following: I got my json from the following: ...
1
vote
1answer
69 views

Software for Javascript?

Do I need any special kind of software to view the responses I get after requesting something? Like with Klout for example, I can get all the code returned as I need it, I just don't know where to put ...
1
vote
1answer
98 views

How to license applications?

I registered on http://stackapps.com few days ago. I have written several applications that I want to place on this site. But I have a question -- how can I license my applications?
1
vote
1answer
110 views

Is there an authentication component to the API?

Is there an authentication component with the API? Same as logging in with Facebook or Google etc?