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
1answer
441 views

HTTP 400 “Bad Request” while using “access_token” in request Url

I registered an app, obtained a key and I have implemented the implicit OAuth 2.0 flow in a Windows 8 desktop app (as per the documentation available here). After receiving and storing the access ...
3
votes
1answer
45 views

Is the “link” URL enough to uniquely identify an “inbox_item”?

I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item? Is the "link" URL enough to uniquely identify an ...
3
votes
2answers
264 views

Stack Overflow reputation API

I am creating one wordpress widget plugin that display different types of social media fans and followers counts. After that I feel that i also include Stack Overflow reputation for specific users. ...
3
votes
2answers
120 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: ...
3
votes
2answers
215 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 Stackoverflow" 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 ...
3
votes
1answer
52 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?
3
votes
1answer
69 views

How to access my App info

I've registered for an app yesterday, but I'm not finding where should I go to see/edit it's info again. I've search through profile, at stackexchange.com but could'n find it.
3
votes
1answer
28 views

How should we test the new write-mode comments functionality?

Endpoints which write public content are much harder to test. What's the best way to test the new comments functionality without having to post to real threads? I have seen the Charles web proxy ...
3
votes
1answer
89 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 ...
3
votes
1answer
48 views

How are filters created?

Can someone explain how Filters are created in the Stackexchange v2 API? The documentation mentions the following for /filters/create: It is not expected that many applications will call this ...
3
votes
1answer
88 views

Is it possible to register V2.0 apps that are not web apps?

I want to register an app that will use the V2.0 API here: http://stackapps.com/apps/oauth/register. However, the app will run on a mobile phone so I cannot enter a domain name. What can I possibly ...
3
votes
1answer
194 views

API Time zone difference problem

I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
3
votes
1answer
44 views

how many ids is 'too many'?

This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere. Now, I could run binary search and find out, but I ...
3
votes
1answer
108 views

Getting Question body/title with Answers?

I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer. I am running into an issue where I'm sending too many requests and ...
3
votes
1answer
60 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
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 ...
3
votes
1answer
25 views

How do display names relate to at-mentions?

Display names seem to be able to use full-on Unicode, but this is not so for at-mentions (Comment-replies). At the very least, spaces are stripped when doing an at-mention for Test User; this would ...
3
votes
1answer
30 views

Possible to get a user's flag history?

Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag? I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
3
votes
1answer
40 views

List of Votes by Authenticated users

In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question. ...
3
votes
1answer
44 views

How to get a list of sites that a user is a member of?

After spending many hours trying to post a question using /questions/add and repeatedly getting the error message "The account associated with the access_token does not have a user on the site", I ...
3
votes
1answer
87 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, ...
3
votes
1answer
95 views

How do I parse the dates from the API?

I see that JSON returned by the API contains dates in the following format: "creation_date":1364546475 ^^^^^^^^^^ What's the meaning of it? How can I parse it to get the date in the ...
3
votes
1answer
28 views

When will the “site” field be absent from an “inbox_item”?

According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
3
votes
1answer
1k views

Invalidating access token vs de auth app?

Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
3
votes
2answers
58 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 ...
3
votes
1answer
29 views

Which reputation events are private?

I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history) and Stack Overflow's description of how reputation is calculated. But, I can't find ...
3
votes
1answer
30 views

How can I access all questions asked by an arbitrary user?

Within the web app for courses I organize, I'd like students to be able to provide their Stack Overflow username, so that we can pull in their most recent and unanswered questions. This information is ...
3
votes
1answer
26 views

What is “accept_rate” in the Stack Exchange API?

when I call the /users path, like: /docs/users-by-ids#&ids=1&site=stackoverflow In the reply, I get a field called accept_rate. What is that field about?
3
votes
1answer
92 views

No website (yet), how to register?

I just started developing a Stack Overflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...
3
votes
1answer
101 views

Does stackexchange provide https access to its API?

Requests I make appear to be redirected back to plain http URLs and the certs seem questionable: % curl -O 'https://api.stackoverflow.com/1.0/questions/?key=oxXcnoD51kKE ...
3
votes
1answer
770 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 ...
3
votes
1answer
34 views

What are the possible errors returned from authentication?

The title pretty much says it all, I couldn't find in the Authentication doc much about the errors (other than the HTTP code will be 400)?
3
votes
1answer
245 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: ...
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": { ...
3
votes
2answers
269 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 ...
3
votes
1answer
212 views

Is there an offline copy of the API?

I'm trying to find a way to get all the information in the API in one printable PDF, complete with the examples given in the documentation. Is there anyway I can do this?
3
votes
1answer
82 views

Array of all Stack Exchange sites with Name, URL and Description

I'm building a WordPress widget and need this array do display a dropdown where the user will select the target site. And with the selection value, the information will be built and displayed ...
3
votes
1answer
23 views

What's the simplest way to detect if a question was asked by a user whose account has been deleted?

What's the minimum filter and simplest way to detect if a question (by its ID) was asked by a user whose account has been deleted?
3
votes
1answer
22 views

How often should the /info route be accessed?

The /sites method makes it very clear that you should not invoke that route more than once per day: "It is suggested that you cache its return for at least one day..." However, the /info method ...
3
votes
2answers
63 views

Is it possible to get daily reputation change for a user via the API?

I'm trying to fetch a user's daily reputation change history for a project that's still early in the planning stages. I've been trying to use the "reputation" endpoint, but it seems like I can query ...
3
votes
1answer
40 views

API 'search' method with 'min' parameter

If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date: ...
3
votes
1answer
131 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?
3
votes
2answers
387 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); ...
3
votes
0answers
44 views

How do I access the greatest hits (questions) via API v2.2.?

The greatest hits (questions) of any stack exchange site (say stack overflow) can be found by visiting the below url: http://stackoverflow.com/questions/greatest-hits I would want to access these ...
3
votes
1answer
100 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 ...
3
votes
0answers
54 views

Native Windows client for Stack Exchange sites?

Is there a native Windows client for Stack Overflow and/or other Stack Exchange sites?
3
votes
0answers
56 views

Looking for an application which alerts about new questions under a particular topic

I've installed StackApplet, but it only tracks the reputation of a particular user. Is there an application which tracks new questions under a particular topic, and notifies (in system tray) when ...
3
votes
0answers
26 views

Should feature-requests, for third party apps, be flagged as “not an answer”?

I spotted this "answer" as a first-time post: Feature Request Please add support for proxies.... It would be helpful to people behind proxies. Like "ME" I was going to flag it as "Not ...
3
votes
0answers
68 views

edit-comment method returns 405 error

Trying to understand how edit-comment method could be used. I passed valid token with write_access, valid key, and existed comment id, but all I've got is: { "error_id": 405, "error_name": ...
3
votes
0answers
53 views

Is it OK to have a test account for a developing client?

I'm currently trying to implement an agorava component for Stackoverflow, and for testing purpose, i would like to create a test account, which would have one question asked, and would maybe send ...