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
41 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?
2
votes
1answer
46 views

Maximum length of “about me” in the Stack Exchange API?

What is the Maximum length of "about me" in the Stack Exchange API? The one from the /me path. And in general, where are the length limits published? If anywhere?
2
votes
1answer
64 views

What happened to the recent API contest?

I am curious to know the results of recent stackoverflow contest It has been removed from the api.stackoverflow page and no updates were seen. I believe that the deadline for the results ...
2
votes
1answer
28 views

Is there a way to get the edit URL for a tag wiki from the API?

I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github). One thing I would like to do is add links for the various tag-related ...
2
votes
1answer
75 views

How to limit the number of responses in Stack.PHP?

How do I limit the number of results provided by Stack.PHP (a library wrapper over the Stackexchange API)? For example, how do I get the first 50 questions tagged with a keyword? The query I ...
2
votes
1answer
84 views

Conditional GET support for chat RSS feeds?

I'm trying to use one of the RSS feeds from chat.stackexchange.com in my application. I'm using the python feedparser package for this. Feedparser supports a couple of different "conditional get" ...
2
votes
1answer
106 views

How do I get a GreaseMonkey/UserScript to interact with the Live Preview?

I've converted a script that I hope to get embedded on a StackExchange site (Lego Answers) to a GreaseMonkey/Userscript but I'd like to get it interacting with the live preview when creating or ...
2
votes
1answer
104 views

Has calling StackAuth changed for Apps?

I started upgrading to v1.1 and have an interesting problem I can't seem to resolve. When calling http://stackauth.com/1.0/sites using a .Net WebClient I receive responses successfully and I am able ...
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 ...
2
votes
1answer
198 views

What are the mechanics of private API beta badge/reputation rewards?

Update: George Edisons comments appear to explain most issues raised here (if not all), so I reformulated the question to reduce the noise and allow for an answer accordingly. I have considered to ...
2
votes
1answer
110 views

Eligibility for the competition?

I notice in the blog post that to be eligible for the comp you need to be listed in the App tab. What is the criteria to get listed on that tab? My app is tagged correctly and I think I am using the ...
2
votes
1answer
2k views

jQuery Ajax calls return null

When I enter the API URLs into my browser they work, but when I try from jQuery they just return null. When I open the HTML below, all I get is an alert that says null, despite the fact that Firebug ...
2
votes
3answers
134 views

display_name isn't always there (should have OpenID name if needed)

usually in the owner dictionary there is a display_name value to give the username. But in a few questions it simply doesn't exist and I can't see why only those questions: eg, this excerpt from the ...
2
votes
1answer
32 views

Can API stats return real revision number instead of 1234.5678?

Currently it returns like this "revision": "1.0.1234.5678" And looks like that number never changed. So, Can API return real revision number whenever there is an update? It will be very useful ...
2
votes
2answers
21 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
1answer
50 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: ...
2
votes
1answer
57 views

What's the different between user_id and account_id?

What is the difference between user_id and account_id in the User object ? Both are different and I'm looking for the unique ID of the User. { "items": [ { "user_id": 2144246, ...
2
votes
1answer
49 views

Get questions with body and answers

How can I get the latest 30 questions with body and answers using the api? And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request? To get ...
2
votes
1answer
21 views

In the API, User object, what are all these reputation properties?

I am going through the JSON that is resulting from calling the Stack Exchange User API. I see a bunch of reputation fields. private Number reputation; private Number reputation_change_day; private ...
2
votes
1answer
59 views

Moderation request: Make “scripts” and “user-script” into synonyms of “script”

We currently have three tags that are essentially the same thing -- especially in a stackapps context. They are scripts, user-script, and script. script is one of the "required tags" and has a nice ...
2
votes
1answer
25 views

How can I get a list of favorite/ignored tags?

I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
2
votes
1answer
32 views

Can you identify a user from the access_token?

I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
2
votes
1answer
23 views

How can I re-authenticate StackAlert Addon

Recently I removed StackAlert Firefox addon from my apps list in StackExchange. Now when I reinstall it, it is not authenticating and giving message key is not valid for passed access_token.. How ...
2
votes
1answer
49 views

Get accepted answers from Stack Overflow using Stack Overflow API 2.1

I want to fetch only my accepted answers from Stack Overflow using the API 2.1 and currently I've following code $data = ...
2
votes
1answer
143 views

Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?

I found the Scribe oAuth api and I was wondering how a call would work with the Stack Exchange API, since that uses oAuth. I'm sorta green when it comes to oAuth but I'm planning on writing an ...
2
votes
1answer
47 views

how to get the number of profile views

according to the documentation, a User object has an attribute view_count, indicating the number of views of the user's profile. An example is also given there. However, when I sent a request ...
2
votes
1answer
32 views

User profile_image dimensions

I'd like to use the user profile_image string property (which is the url of a user's avatar image e.g. http://www.gravatar.com/avatar/fbc10e7e541ba1f171a06af062bef7c0?s=128&d=identicon&r=PG) ...
2
votes
1answer
29 views

The migrated predicate on advanced_search seems underachieving

What does the migrated parameter to the advanced_search method mean? Setting it to true on CS finds only one question that has been migrated away, out of several: { "items": [ { ...
2
votes
1answer
75 views

API v2.0 Developing desktop app

If I am developing a client side application, what kind of domain should I provide to 0Auth callback? Can it be a custom application-centric scheme (like myapp://oauthcallback/)?
2
votes
1answer
45 views

Answers without owners

Is it valid for StackOverflow data to have an answer that does not have an owner? For example if you hit the following API url http://api.stackoverflow.com/1.1/answers/18, it does not bring back an ...
2
votes
1answer
50 views

List of possible values for user_type on API for users

I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type. So far I have only seen a value of "registered" come back ...
2
votes
1answer
165 views

Using the API directly from JavaScript

Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
2
votes
1answer
84 views

StackApplet and AskUbuntu

Two questions: 1) Whenever one clicks on the "Ask Ubuntu" in the StackApplet's menu it opens http://askubuntu.com/users/recent/### (where ### is the user's id number), but there is no such page here. ...
2
votes
1answer
112 views

How to check if a given question is changed

What is the fastest way to check if a question is changed using the API calls? For my purpose (a cache), a question is considered changed if: A new comment is added to the question or to any of its ...
2
votes
1answer
110 views

Will the new traffic measuring formula be available via the API as well?

From this MSO answer: stackexchange.com/sites was just updated today to use a new formula for traffic. Area 51 is still using the old formula, but will be updated soon to use the new formula. ...
2
votes
1answer
138 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
86 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
85 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
188 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
75 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
35 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
52 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
36 views

Top questions by tag and period

I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example). How can I do this?
2
votes
1answer
33 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
26 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 ...