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
58 views

Update the default filter editor to use the API key

When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of: ... "quota_remaining": 9424, ...
2
votes
2answers
44 views

Why aren't my application icons being used in the “Top Apps” list?

I've got application icons listed for each of my apps, but the "Top Apps" list shows the default "pages with gears" icon instead. Each time I've registered the application before posting a question ...
2
votes
1answer
37 views

User to de-authorise app?

The API makes use of OAuth to allow queries such as /inbox/unread. In the documentation however, I cannot seem to find a way for the user to control actively the authentication: Is there a place for ...
2
votes
1answer
18 views

No views_per_day in /info route?

I'm not particularly crying over it, just curious why the views_per_day field was dropped?
2
votes
1answer
68 views

How to provide a logout button for authentication?

How would you provide a logout button for an app that uses authentication. (Not so that the user has to choose to accept or reject the app, that's deleting the app from their tab) Basically force the ...
2
votes
1answer
82 views

Am I out of luck if my http client doesn't support gzip decoding?

I'm playing with the oauth2 support in v2-beta with an http client that doesn't support gzip decoding. (My client is http spec compliant but can't deal with the non-compliance of the api on this ...
2
votes
1answer
75 views

How do you get the association_id from the CC data dump?

I am working with StackExchange /users/ data and trying to get a user's "united" profile, to see what sites they're active in other than the queried site. As an example: ...
2
votes
1answer
35 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
67 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
127 views

Retrieve inbox notifications

Hi, Is there a way to retrieve any notification that appears in the inbox of stackexchange? Or is there another technique to retrieve notifications on updates?
2
votes
2answers
154 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
70 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
101 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
98 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
2answers
113 views

How to mimic search behavior of Stack sites?

I want to mimic the behavior of the search field that can be found on all Stack sites. How should I do this? Filter by tags if all words (how exactly is this detected?) in the query are tags. ...
2
votes
3answers
103 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
49 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
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 ...
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
30 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

Native Windows client for Stack Exchange sites?

Is there a native Windows client for Stack Overflow and/or other Stack Exchange sites?
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
0answers
27 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
155 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
35 views

No website (yet), how to register?

I just started developing a StackOverflow 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 ...
2
votes
0answers
28 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
39 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
41 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
0answers
54 views

edit-comment method returns 405 error

Trying to understand how edit-comment method could be used. I passed valid token with write_access, valid key, and existed comment id, but all I've got is: { "error_id": 405, "error_name": ...
2
votes
0answers
22 views

How should we announce updates to our apps, scripts, libraries, etc?

Is there a recommended best way to let the stackapps community know that we've released an updated version of one of our projects? We can edit the project's page and bump the version number, but this ...
2
votes
1answer
26 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
23 views

How can I get the “follower” count for a given tag on a site?

One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
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
141 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
18 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
46 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
159 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
89 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
33 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
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
33 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
82 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
127 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
158 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
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
2answers
116 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
121 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
53 views

StackExchange 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 ...