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

3
votes
0answers
63 views

recommended buffer size for markdown fields is conservative

I ran into a truncation error while inserting user data into a database using the documented field length (buffer size) of 3000. So I redefined to nvarchar(max), pulled all users in the stack ...
0
votes
0answers
44 views

api domain object unique keys

For those who wish to maintain object graphs or to persist api domain objects authoritative documentation of the field(s) that define a unique key for the object would be of value. Some are obvious ...
5
votes
2answers
209 views

Url length limits have been increased

There's been some grumbling in the past about the unreliability of really ludicrously long URLs sent to the API. We've always considered this suboptimal, but the underlying technical constraints ...
1
vote
2answers
178 views

Post questions using API [duplicate]

Possible Duplicate: Is there an api to post questions without using the websites interface? Can I use the API for posting any question to StackOverflow? I have a internal sharepoint site ...
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
196 views

Is there an api to post questions without using the websites interface?

I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
1
vote
1answer
372 views

Copying CSS from stackoverflow for use in an app?

Is it ok / legal / allowed to copy some of the styles from stackoverflow / serverfault / etc. for use in a stack app?
3
votes
3answers
157 views

Negative voting questions?

I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO. I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
1
vote
1answer
46 views

questions/id is sometimes missing an owner?

Every once in a while when I query: http://api.stackoverflow.com/1.0/questions/id I get a question back that is missing the owner field. Is this expected? I haven't seen anything about owner being ...
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. ...
5
votes
0answers
138 views

How to get the count of a query efficiently

To get the count of a query without returning results, simply specify pagesize=0. http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0 { "total": 1161, "page": 1, ...
1
vote
1answer
48 views

How will the popularity of hosted apps be determined?

In the contest blog post: We will look at the number of requests for your API key. Was your application used by a lot of people? Or at least a reasonable amount? How does this work for ...
3
votes
2answers
117 views

URL Format: Special Characters

I just noticed something in my testing. I was searching for questions tagged "C#" and the questions come back tagged "C". Code Poet's SOAPI javascript formats the route thusly: ...
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 ...
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 ...
4
votes
2answers
228 views

When does a rate-limit day start and end?

After reading the docs/faqs, I couldn't help but wonder... What exactly is a day? When does it start? When does it end? What timezone are you using? In other words, when my app runs out of ...
0
votes
0answers
65 views

What time are rate-limits reset? [duplicate]

Possible Duplicate: When does a day start and end? In the interest of properly scheduling cron events towards the end of the rate-limit 'day' in order not to starve out interactive users it ...
1
vote
1answer
102 views

Announcing Apps to the Public

I believe this has been discussed before but I can't find the question/answer so I'll ask it officially here: Now that v1.0 is released, it's OK to announce our apps to the general public, correct? ...
5
votes
1answer
94 views

Getting questions with multiple tags

http://api.stackoverflow.com/0.8/questions/tagged/gwt,google-app-engine returns nothing, but http://stackoverflow.com/questions/tagged/gwt+google-app-engine does have plenty of entries. And ...
3
votes
2answers
347 views

What is the throttle interval or threshold?

Resolution: I have confirmed that a constant interval of 170 ms will run without error. // 30 per 5 sec = 6 per sec = interval 166.6 ms Soapi.RequestQueue.setInterval(170); ...
4
votes
2answers
210 views

rate-limit per endpoint per IP VS. server apps in hosted environments

I was wondering if the scenario of a server based app that lives in a hosted environment, where a single IP can be shared by many web sites. As I understand the rate-limit as it stands, every site on ...
0
votes
1answer
39 views

how/when is rep_change updated?

I am trying to determine the most efficient way to keep a user's rep_change history updated and need some guidance. Here are a few assumptions that I am inferring from the available information: ...
0
votes
0answers
390 views

Issue with using Fiddler as a Proxy

I'm starting to add built-in support for StackOver to the OWASP O2 Platform, and just noticed that there is an issue with using the C# API with Fiddler. It seems that the problem happens when Fiddler ...
3
votes
2answers
332 views

The API Key does not work

I have registered an app at http://stackapps.com/apps/register, got a Key right away after I have submitted. But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
5
votes
3answers
148 views

Injecting HTML Into A Stackexchange Site

I am writing an application that injects some HTML into the page. I was wondering what the policy is for this. Is it ok or generally frowned upon?
3
votes
1answer
1k views

SIlverlight 3 ClientHttp vs BrowserHttp stack: no cross domain policy means no gzip for Silverlight

I notice that even if I send accept-encoding=gzip the response does not seem to be compressed. ( it is late and i was conflating 'accept' with 'accept-encoding') Should we expect, in the 1.0 ...
0
votes
1answer
49 views

Fetch questions from offset?

I want to fetch questions from a certain offset. Not a minimum creation date, just an offset index, independent of the sort and order I'm using. How can I do this? Is it possible at all? ...
4
votes
1answer
74 views

What is the rational behind the chosen /sites styling info?

I was wondering why the chosen styling data is provided though the API. It makes sense to provide it, but I feel like we are only getting part of the information. "styling": { "link_color": { ...
1
vote
1answer
90 views

Stack Exchange site layout question

I noticed that the new SE sites all have the same layout and the same image. When will these things be changed? I don't want to support these sites in my application, StackTop, until I know the icon ...
1
vote
3answers
138 views

API not returning anything near the actual website

The API /questions page is not returning anything like the list of questions on the actual SO site. This is the first question of the 0.8/questions { "total": 705769, "page": 1, "pagesize": ...
2
votes
2answers
191 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 ...
1
vote
1answer
100 views

How to control vote count for individual user?

How do I find if user has already voted for a particular question/answer?
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?
1
vote
0answers
70 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
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
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 ...
8
votes
1answer
456 views

Should we add a “this site is not affiliated to Stack Overflow..” disclaimer to our website app?

I've checked legal section but it does not say anything specific of this aspect apart from: Do feel free to explain that your product is built on the Stack Exchange platform so people understand your ...
1
vote
1answer
92 views

when/if/how/why do non-trilogy Stack Exchange sites aquire/provide API access

So I am looking at http://mathoverflow.net, trying to blow some cobwebs out of the dark corners of my brain that used to house some not-insignificant abilities and found myself wondering about API ...
2
votes
1answer
257 views

Strange encoding for JSON output

I'm trying to create an R API. Here's some basic code for processing JSON: library(rjson) fromJSON(readLines("http://api.stackoverflow.com/0.9/stats/", warn=F)) As I look into this, the output of ...
0
votes
1answer
153 views

Best way to calculate total badge count in Javascript?

I'm using Javascript and JSONP and want to find-out a user's total badge-count (i'm not using any libraries). At first I naively added up the badge counts individually, but some user's have no ...
0
votes
2answers
54 views

Why do some ranges have so many values?

Why do some ranges have so many values? For example: [0, 2,147,483,647]
0
votes
1answer
73 views

What characters won't be in question->body?

This might seem kinda strange, but what printable ASCII characters am I guaranteed not to find in the body member of a question / answer?
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 ...
7
votes
1answer
645 views

How to see which users upvoted a question?

I assume this information is tracked, since StackOverflow shows me the questions I have upvoted (when going to their question page, I can undo the upvote). I couldn't find any api call that gives this ...
0
votes
2answers
105 views

Would the following image be allowed?

In the guidelines for using the SE logos, it says: Do not distort or alter our logo in any way Does the following logo do that?
4
votes
3answers
210 views

My App unintentionally DoSed api, and my IP got blocked across all the sites, now what should I do?

I put a program in cron to run every 5 minutes, and that program loop 5 times and read each api site 12 seconds interval. But last night (12 hours ago), I noticed that my program broke and there was ...
0
votes
1answer
276 views

What's the best way to mashup a social network with StackOverflow?

I’m experimenting with an integration project where I mashup a user’s LinkedIn connections and StackOverflow activity. Are there any relevant APIs on StackOverflow that could be used to integrate ...
8
votes
1answer
144 views

Where did the “apps” tab disappear?

I may just be missing something, but there used to be an "apps" tab on the main page, which showed you a (sorted by vote) list of all the apps and libraries. I can't find it anymore. Where did it ...
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
34 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 ...