Questions tagged [support]

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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
296 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 badges....
  • 786
11 votes
1 answer
2k 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 ...
2 votes
2 answers
73 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
1 answer
78 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?
  • 22.9k
2 votes
3 answers
121 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 ...
  • 22.9k
9 votes
1 answer
1k 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 ...
  • 1,039
0 votes
2 answers
115 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?
  • 22.9k
0 votes
1 answer
346 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 ...
user avatar
9 votes
1 answer
166 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 ...
  • 1,039
5 votes
0 answers
514 views

Platforms Supported by the API and Response Compression

What platforms are supported for use with the Stack Exchange API? In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
6 votes
4 answers
260 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 ...
  • 5,022
7 votes
0 answers
103 views

API Parameters: Consolidated Observations

This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data. Perhaps items can be removed when accepted and resolved as ...
2 votes
1 answer
48 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 ...
  • 11.5k
1 vote
0 answers
53 views

OBSOLETE - How should I understand "timeline_type": "votes" record in question timeline? [closed]

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 ...
  • 119
3 votes
1 answer
2k 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 ...
  • 11.5k
1 vote
0 answers
71 views

What's the default fromdate for the /users/{id}/reputation route?

I'm getting different amounts of positive-rep when I use the fromdate and todate parameters with the /users/{id}/reputation route than when I don't use those parameters and accept the defaults. I ...
0 votes
1 answer
87 views

Can I change my user profile using the API?

It seems the API just allow me to retrive public information, but... is it possible to change, for instance, my "about_me" information using the API?
  • 161
2 votes
2 answers
97 views

Why does Stats Return a Statistics Array

Why does the stats API Call return an Array instead of just an object? Example Response: { "statistics": [ { "total_questions": 723903, "total_unanswered": 114097, "...
6 votes
1 answer
582 views

URL Length Limit For For Requests Taking Vectorised Ids (/answers/{id}, /questions/{id}, etc)

I am trying to use /questions/{id} API to get a list of questions by their ids. Help page for this request does not indicate the maximum number of ids that can be passed in. Pagesize is maximum 100, ...
2 votes
1 answer
143 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 ...
  • 123
21 votes
5 answers
1k views

Conscientious use of the API

What constitutes abuse? Making an undue number of requests in a short span of time, or regularly exceeding a request quota during "normal" use. Guidelines for polling We realize that a great ...
12 votes
1 answer
171 views

Is it safe to assume the API will be at api.<DOMAIN>?

I'm writing an application that will eventually allow you to use it for any StackExchange site. Thus, I'm allowing users to input the domains of the sites they want to use (e.g. stackoverflow.com). I'...
  • 1,522
2 votes
1 answer
5k 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 ...
  • 789
6 votes
1 answer
127 views

Provide a post listing changes to the API?

While it's possible to pick up on many of the changes that are made to the API by looking at every [status-completed] tagged question on here, I'd like to see a single post that's updated every time a ...
  • 369
7 votes
1 answer
1k views

Is it safe to embed my API key into my javascript-only application?

I have an application I'm developing that's pure javascript and consumes the Stack API. My API key is embedded in the source which anyone could read. Is this safe?
  • 3,333
1 vote
3 answers
205 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 ...
  • 3,075
3 votes
4 answers
172 views

How do I get the ten reputation required to post an image for my app?

Funny that in order to enter and include a screenshot, you need ten reputation points. Go figure.
3 votes
3 answers
171 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 ...
  • 133
1 vote
3 answers
148 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": 30,...
  • 3,058
3 votes
2 answers
99 views

What will be rate-limit of two different applications with two valid API keys from same IP?

What will be the effective rate limit of two different applications with two valid API keys from the same IP address? Will it be whatever only one of the keys can use? So maximum 10k? Will rate-limit ...
  • 5,022
1 vote
1 answer
75 views

Can we have all possible closed reasons in help page?

Can we have all possible closed_reasons in help page and if possible, closed_reason_id, too? For example closed_reason_id=1, closed_reason="exact duplicate", closed_reason_id=2, closed_reason="off-...
  • 5,022
2 votes
3 answers
150 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 0....
  • 3,058
1 vote
1 answer
81 views

Post body is optional field in questions method?

"body": { "description": "body of this post", "values": "string", "optional": true }, Post body is optional field in questions method? Shouldn't all the posts have body field?
  • 5,022
2 votes
1 answer
39 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 ...
  • 5,022
1 vote
1 answer
63 views

Is the question_id monotonically increasing?

Just wondering: Does the question_id monotonically increase for every new question? Is the question_id unique globally for a deployed app or is it unique in some sub-domain? Is there any relation ...
1 vote
1 answer
171 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 ,...
  • 3,075
3 votes
2 answers
408 views

What is the correct way to get the stackoverflow.com URL for an answer via the API?

A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
  • 185
2 votes
1 answer
57 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?
  • 369
15 votes
4 answers
272 views

Prevent that posts tagged with app or library enter Community Wiki mode when the owner edits it 8 times

I've edited my App 8 times and my question has switched automatically to Community Wiki (I'm aware that it's reported in the faq). The main reason of these many edits is my shaky english, but I can ...
3 votes
2 answers
73 views

Inconsistency in the handling of multiple IDs with a duplicate

There appears to be some inconsistency in the way multiple ids are being handled, especially when a duplicate exists. Duplicate ID is significant For example, when requesting a timeline of multiple ...
  • 133
4 votes
1 answer
112 views

Confirmation on sort, order and min/max

I'd like confirmation, if possible, that the following chart of sort types is correct: sort |orderable|min/max |min/max type ------------------------------------------ activity | yes | ...
  • 369
6 votes
2 answers
408 views

Odd String Format Result from API Call

I'm just getting started messing around with the SO API. I haven't worked with JSON before, and I am getting a strange result from a basic call (No API Key). WebClient stackClient = new WebClient(); ...
  • 163
8 votes
1 answer
445 views

API Key limit 10k is Per IP Address or Globally?

Getting started FAQ says No Key limit is IP Address based, but it does not say for with API Key. When I test my API Key from different IP Addresses, I noticed that 10k limit is globally, limit is ...
  • 5,022
2 votes
2 answers
114 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 ...
  • 121
7 votes
2 answers
1k views

Am I accessing the API correctly?

When running the code $.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) { // Do some stuff here.... }); I get the error Failed to load resource Am I accessing this ...
  • 203
4 votes
2 answers
299 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 requests ...
  • 22.9k
2 votes
1 answer
96 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 ...
  • 2,123
5 votes
2 answers
474 views

The API Key does not work

I have registered an app at https://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,022
7 votes
2 answers
263 views

How to get a User Id

Is there a way to get the user id so I can use the method /users/{id} I guess that for security you cannot asked the API give the id of a user with this openid Identification but is there another way?...
9 votes
2 answers
212 views

Terms of the use for the API

What are the terms of use for the API? Are there any restrictions in terms of how I can use it, except for access limitations?