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
122 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 ...
1
vote
1answer
131 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 ...
1
vote
1answer
75 views

Stack Exchange API not realtime?

I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more. Is this API not ...
1
vote
1answer
151 views

Integrating API into Drupal?

I successfully registered for an API key. What should I do now? I have installed Drupal. Is there any sample/notes on how to proceed with accessing the API from the application so I can get to ...
1
vote
2answers
67 views

1.1 sites - SO and MSO

In 1.1 with the new related sites, is it intentional that MSO and SO are not related?
1
vote
2answers
45 views

Total Number Of Answers

I need to find the total number of answers submitted by a user on stackoverflow. I tried the following: I got my json from the following: ...
1
vote
1answer
68 views

Software for Javascript?

Do I need any special kind of software to view the responses I get after requesting something? Like with Klout for example, I can get all the code returned as I need it, I just don't know where to put ...
1
vote
1answer
94 views

How to license applications?

I registered on http://stackapps.com few days ago. I have written several applications that I want to place on this site. But I have a question -- how can I license my applications?
1
vote
1answer
110 views

Is there an authentication component to the API?

Is there an authentication component with the API? Same as logging in with Facebook or Google etc?
1
vote
1answer
111 views

Can I charge for apps I create on Stack Apps?

I want to create an app that will use data from Stack Overflow Careers - both employer and applicant information. It's an app designed for employers. I have two questions: Is it even possible to ...
1
vote
1answer
94 views

What license is the Stack Exchange API released under? MIT?

Are there any license requirements the Stack Exchange API? Which license is it released under? If I were to develop an app, would I have to credit Stack Exchange API? Thanks in advance.
1
vote
2answers
288 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
503 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 ...
1
vote
3answers
718 views

Possible Gzip or data format problems when trying to read JSON.

This is a very basic question. I just want to display a test batch of JSON with PHP, but I think I don't have the correct formatting, since the data received looks garbled when outputed, and it causes ...
1
vote
1answer
1k views

Bad format returned by Stack Exchange API, not GZip?

I'm attempting to request some information using the Stack Exchange API. Supposedly, it returns responses compress with GZip. Using Microsoft's System.IO.Compression.GZipStream or ...
1
vote
1answer
59 views

Posting answers via Stack Exchange API

Can I post answers via an app using the API, is it possible? And if so, what are the limitations; linked with the reputation of users? So if someone has 1 reputation he can also post answers, like a ...
1
vote
1answer
17 views

Confusing documentation re vectorized requests limits

The documentation for vectorized requests says this: Most methods that take ids in the Stack Exchange API will take up to 100 of them in a single go. This allows applications to batch work and ...
1
vote
1answer
46 views

how to use tags/{tags}/related

I am new to stackapps. I am wondering how to apply /tags/{tags}/related to more than one tags. The documentation does not give an example. I tried /2.0/tags/c,java/related?site=stackoverflow, ...
1
vote
1answer
1k views

how to get access token from redirect uri in android

I enabled both client side flow and desktop oauth redirect url, and manage to get the user login and get redirected to https://stackexchange.com/oauth/login_success#access_token=xxxxx But how can i ...
1
vote
1answer
65 views

How to get the actual “body” of a question or answer?

How do I actually get the body (i.e. the textual content) of any say question or answer. For example, for question (id= 7406104), I call: http://api.stackoverflow.com/1.1/questions/7406104 But in ...
1
vote
1answer
36 views

API to get the small tag info displayed in the popup

I do not know if this is possible, or if this is even prohibited, but here goes. I am creating a website where I talk a lot about the web and different programming languages. Now I want to create ...
1
vote
1answer
50 views

Throttling Question

Hey all, I keep getting kicked out of the API. Is throttling set to 30 requests per 5 seconds? j
1
vote
1answer
196 views

Is the API readonly right now?

Does the StackOverflow API offer some way to authenticate a user? I am wondering if the API supports logging a user in so that they can write to the system.
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
1answer
103 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? ...
1
vote
1answer
22 views

Get the Authenticated User's email?

We're building the website for our local Developer Community. We're trying to enable "Login with Stack Exchange" (we already got LinkedIn and GitHub), but I can't seem to find the User's email when ...
1
vote
1answer
34 views

How do I add newlines when editing a post body via the API?

I am editing the tags of a question via the API, and to do that you have to pass the body and title etc. I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
1
vote
1answer
36 views

What is the difference between accepted and is_accepted?

I saw there are two fields in answer type. One is accepted, introduced in v2.2 and needs private_info access. While another one is is_accepted without these limits. Can somebody give an explanation? ...
1
vote
1answer
32 views

After user login, how do you ask user for permissions?

For an app on Windows Phone, I'm missing the page after you enter your login credentials and click submit. When I debug on my device, after I log in I obtain the correct response Uri with access ...
1
vote
1answer
21 views

Where are the built-in filters?

On api.stackexchange.com/docs/create-filter it states: there are a number of built-in filters which cover common use cases. Where can I find them? Can you make built-in filters a link? I need ...
1
vote
1answer
111 views

Is it possible to create a private Q&A site using the Stack Exchange API?

I want to create a sort of private Q&A site to allow university students of the same courses to communicate. Is it possible by using the Stack Exchange API?
1
vote
1answer
34 views

Can I retrieve the API interfaces via the API?

I'd like to retrieve a list of methods with their arguments/defaults and their return types through automated means. Is this possible and, if so, how can I do it? This isn't just for curiosity's ...
1
vote
1answer
161 views

Does the API key need to be kept secret?

For a project of mine, I need to know if I need to keep the API key secret or not. If I do, I'm not sure how I'm going to effect its protection, as Emacs Lisp files are stored in plain text (and ...
1
vote
1answer
37 views

How to get the question title for reputation history entries?

I'm trying to implement a simple rep list, much like as seen on Stack Exchange sites. What I would like is to get three things: the rep change amount, type of change, and question title. However, ...
1
vote
1answer
482 views

json with list of all user's on stackoverflow

I am trying to get the list of all user's in JSON format (as provided by the API) (using jQuery jsonp) What I found is: pagesize – The number of collection results to display during ...
1
vote
1answer
765 views

How to login programmatically using Android Code?

I think my questions is not a duplicate of this one How to login programmatically I have read the authentication document but still i am not able to get what should I do for if I want to perform ...
1
vote
1answer
57 views

Stack Overflow Firefox Extension

Recently I created a tiny Firefox extension to get given user reputation of Stack Overflow. But I did that using API version 1.1. How can I migrate that to 2.1? How to authenticate my application ...
1
vote
1answer
36 views

Ability to sort answers by number of revisions via StackExchange API v2?

I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric. I see mention of a sort function in the ...
1
vote
1answer
144 views

JSON parsing, won't work

I'm using the Stack Apps API. Retrieving questions by tags works well, and the JSON is returned. Now I need to parse the JSON and there is something wrong with my code: $.ajax({ url: ...
1
vote
1answer
197 views

How to get Question/Answer body in the API response using filters?

I am specifically looking to get the question/answer body back. Is it possible? I am looking through the API documentation and I'm confused about how to make a call with filters. Sample call I'm ...
1
vote
2answers
49 views

How to get the site name from document to pass to API?

Most APIs take a parameter site which must be set to the name of the site your queries are about. For meta.travel or travel. But of course sites have various names, for example ...
1
vote
1answer
81 views

Use stack2rss to receive responses via RSS

I'm trying to setup http://stack2rss.stackexchange.com/ to receive full-body "responses" (comments, edits, answers and so on) to my own stackoverflow questions via RSS, but I can't find the right ...
1
vote
1answer
128 views

“client_id not provided” when trying to obtain an access_token

So I'm trying to authenticate with the v2 API via oauth2. I have a code, so I'm POSTing to https://stackexchange.com/oauth/access_token and ideally get an access_token back. Instead I get an ...
1
vote
1answer
38 views

Is there a maximum on the number of search results returned (using the SO API)?

I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
1
vote
1answer
120 views

Non-verbatim search strings in py-stackexchange

Hello, I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u ...
1
vote
1answer
288 views

Offline cache of the API - for when the developer has no internet.

Is there some fake API program that "simulates" the API? Just I'm going on a long car journey tomorrow, and I won't have an internet connection on my laptop and don't want to waste the whole journey ...
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 ...
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?
1
vote
2answers
211 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 ...
1
vote
1answer
415 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?