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

1
vote
2answers
258 views

Is something filtering 'document.cookie' in SO pages?

My colleague and I are developing an annotation tool for web resources. One way The user can us the tool is to click a special bookmarklet to view the current page with annotations added. The ...
1
vote
1answer
490 views

Problem accessing API endpoints from Google App Engine

I'm experiencing a weird problem on StackPrinter hosted on Google App Engine. It seems that the application can't reach several endpoints like Super User or Server Fault; Stack Overflow and other ...
2
votes
1answer
114 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 ...
1
vote
1answer
58 views

last_activity_date meaning on /questions route

I would like to add a cache layer to my app for questions, answers and comments. The last_activity_date parameter on /questions route seems a valid candidate (probably the only way available) The help ...
1
vote
1answer
332 views

Error Using Stacky v1.0 Binaries in an Azure Worker Role

The following error is being thrown when calling the StackyClient.GetUser method from within an Azure Worker Role: Method 'ReadJson' in type 'Stacky.UnixDateTimeConverter' from assembly 'Stacky, ...
3
votes
1answer
57 views

Difference between stackauth URLs

On stackauth theres: stackauth.com/sites stackauth.com/1.0/sites Which one should be used (bearing that yesterday the one with the API version was unavailable)
3
votes
1answer
238 views

StackPrinter - This IP has exceeded the request-per-day limit.

I'm having this problem. This IP has exceeded the request-per-day limit I hardly believe that with StackPrinter, I'm depleting 10.000 requests per-day, per-site :). Could you please verify? EDIT: ...
1
vote
0answers
55 views

Maximum tags for a question on any SE site

Is the maximum tags for all SE sites (and those in the future) 5?
2
votes
1answer
113 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. ...
1
vote
1answer
187 views

api.stackoverflow.com down?

I am currently getting errors when trying to access the stack overflow api. I have tried others (superuser and serverfault) and they seem to work. Is this by design or did the api unintentionally go ...
6
votes
3answers
764 views

How do I find a user based upon email hash?

I'm looking for specific guidance on how to locate a user on SO by email address. I'll use this information to work with the API and determine how many points they have on the site.
2
votes
1answer
90 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 ...
1
vote
2answers
117 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 ...
3
votes
2answers
67 views

How can I see the next page of favorites using the SO API?

http://api.stackoverflow.com/1.0/users/113124/favorites only shows me 30 favourites. How can I see the rest?
3
votes
2answers
593 views

Silverlight download JSON from API fails

I cant seem to download the JSON for the questions on SO, I cant get the HTML and JSON from other addresses, but the SO API always returns jibberish. Here is my code: public void ...
1
vote
1answer
91 views

Are there any hi-res versions of SO logo that we can use in our apps?

I'd really like either multiple sizes (from icon up) or hi-res or best of all a vector version. I want my app to look as good as possible and I'm sure SO would want to be well represented.
1
vote
3answers
159 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
votes
1answer
175 views

/search method, returning the body of the questions

Probably this is a documentation fault. For the search method, the parameter list doesn't say anything about an optional body, but looking at the Returns description shows: "body": { ...
1
vote
2answers
100 views

Can the API return info re “new replies” icon?

I would like to be able to query the status of the "new mail" icon that shows whether there is new comments or favorites activity. Is this possible?
5
votes
2answers
392 views

Is there a Stack Exchange icon available?

StackAuth /sites route provides all the site's icons except for the one of the Stack Exchange master site. Could you please provide it in some way (a static SVG would be good)?
4
votes
1answer
106 views
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 ...
1
vote
1answer
94 views

api performance slow

this query takes ~30 seconds. Seems abnormal to me http://api.stackapps.com/1.0/users/14/questions?pagesize=100&answers=true&body=true&comments=true&page=1
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
3answers
289 views

-430 rep - why?

I just lost 430 rep. from 6777 earlier today to 6347. This seems to be localized to my account only. Why?
2
votes
1answer
128 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 ...
3
votes
2answers
101 views

Can I filter Users by reputation or up_vote_count using the API?

Howdy, Is it possible to do API calls that pull back all users with, say, > 10,000 reputation? Or up_vote_count, etc. The advanced search page implies that we should use third-party search engines. ...
1
vote
1answer
87 views

How to generate a list of users ranked by bug report submissions.

The use case is to generate a list of bug report submissions, grouped by User, of the following counts in descending order: bug bug + status-completed bug + status-deferred bug + status-bydesign ...
2
votes
3answers
124 views

How to generate a list of users ranked by activity (question or answer count).

The use case is to generate a list of users ordered by activity, i.e. question_count or answer_count. e.g. total_(questions|answers) display_name [user_id] ...
2
votes
3answers
216 views

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

The API provides methods to sort and filter individual questions by favorite count. In order to calculate the question favorite count totals per User, some grouping and set operations are required. ...
2
votes
2answers
157 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
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
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 ...
7
votes
3answers
304 views

When does the judging take place?

I am planning to work some more on my apps tomorrow and get some last minute changes implemented. However, I notice that: The API Contest winners will be picked the first week of August. ...
2
votes
1answer
88 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 ...
3
votes
2answers
246 views

Is Stack API blocking Yahoo YQL services?

I was hoping to create OpenTable definitions for Stack services to use YQL, Yahoo's SQL to the web thing. It would have been interesting for experimenting, but also for mashups. Unfortunately, it ...
7
votes
0answers
117 views

suggest add favicon.ico to api endpoints

It will reduce 404 entries in your logs and in our browser based fiddler results. Cheap, easy, fast. GET /favicon.ico HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 ...
4
votes
1answer
124 views

What timezone is used in the API?

When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds? To get the current time to pass as ...
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
212 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
191 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
205 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
389 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
103 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, ...