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

are clientaccesspolicy.xml and crossdomain.xml excluded from throttling

These files are requested by the user agent as needed and the programmer has no knowledge or control over these requests. The abuse potential connected with these files is nil(?) It seems that it ...
2
votes
1answer
87 views

Maximum tag name length?

Does this exist? Or it is again just the "suggested size" with no hard limits? Im trying to figure out how to best store them in a database.
2
votes
1answer
125 views

Why have recent dev-tip posts been forced into community wiki without explanation despite ongoing community self-regulation?

Preface Please note that this question is neither about community wiki nor reputation, rather about acceptable moderation, (to stress that I've made it community wiki in itself). Therefore I need to ...
2
votes
2answers
156 views

How to calculate a list of users ranked by question score (votes sum) totals.

The API provides methods to sort and filter individual questions by score. In order to calculate the question score (votes sum) totals per User, some grouping and set operations are required. e.g. ...
2
votes
2answers
91 views

How to calculate a list of users ranked by question view count totals.

The API provides methods to sort and filter individual questions by view count. In order to calculate the question view count totals per User, some grouping and set operations are required. e.g. ...
2
votes
1answer
86 views

What constitutes 'active participation' in the private API beta?

In trying to understand some continued weirdness regarding badge/reputation rewarding in the context of private API participation I failed to find the explanation what exactly constitutes 'active ...
2
votes
2answers
85 views

Will I be able to update the (optional) application icon after registering an application?

The Register Your Application form allows for the (optional) submission of an application icon. Presumably this can be updated after registration via Manage API keys? I'd be surprised if not, of ...
2
votes
2answers
192 views

Do I need API key to use StackAuth API?

StackAuth sites doco doesn't mention that it requires an API key and there are no X-RateLimit-Max and X-RateLimit-Current response headers on the request. At this stage I am passing my API key just ...
2
votes
1answer
76 views

How to filter getAnswersForUser by tag?

I'm using Stackexchange java client lib I wanted to get a little more statistics but the following snippet returns only 30 answers. Do I need to to register for an API key, or just use ...
2
votes
2answers
96 views

Slow response times?

I'm working with the API, but I noticed requests are quite slow. Each request seems to take between 8-11 seconds. I timed different requests and the time doesn't seem to differ much between search and ...
2
votes
1answer
15 views

My registered apps are not showing in my profile; where can I find them?

I registered two apps in Stack Apps, but when I access my account, it shows no registered apps. How can I mark them as my apps and how can access app settings (client id, key), etc?
2
votes
1answer
36 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
1answer
44 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 ...
2
votes
1answer
64 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 ...
2
votes
1answer
34 views

List of object types on SE API v2.0+

Beware: The API is Huge!! Below is the list of all the "types" of objects returned by the API v2.0+ :- Note: v2.1 specific types are noted in a seperate box Type | Field ...
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 ...
2
votes
1answer
30 views

How do you trigger the search/advanced 'q' parameter to search all words?

When you search for “playa parents not working” on http://expressionengine.stackexchange.com, you’re brought to this URL: http://expressionengine.stackexchange.com/search?q=playa+parents+not+working ...
2
votes
1answer
26 views

What's an example of the backoff field? Is there some way I can simulate it to test appropriate behavior?

In reading about the API rate limiting, the documentation talks about a method responding with an ominous backoff field, and states that the client should cease from calling that method for that many ...
2
votes
1answer
132 views

API returning character entities in JSON

I noticed display names in the JSON contain HTML character entities; e.g. /2.0/users/718618?order=desc&sort=reputation&site=stackoverflow Gives me: { "items": [ { "user_id": ...
2
votes
1answer
63 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
46 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
594 views

API Implicit Authentication with Python

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
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
88 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
80 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
128 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
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
99 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
1answer
117 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
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
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
22 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
31 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) { ...
2
votes
0answers
30 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
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 ...
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
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
190 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
29 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
43 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
43 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
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 ...