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

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

I am looking through the API documentation and i am confused how to make a call with filters. I am specifically looking for get the question /answer body back. Is it possible. Could not find any ...
1
vote
1answer
51 views

Get all sites of type “main_site”

Is there a way to get all sites of type main_site from the /site method? If not, what's the best way to get that list? Should I get all sites with a huge pagesize and then filter it in my App?
2
votes
1answer
51 views

List of possible values for user_type on API for users

I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type. So far I have only seen a value of "registered" come back ...
1
vote
1answer
323 views

What is the unix epoch date, range [0, 253,402,300,799] in the API docs?

The type of the fromdate or todate in several methods is set to unix epoch date, range [0, 253,402,300,799] I don't know what that is and I can't find any information -- can someone explain it ...
0
votes
1answer
68 views

Searching answers with API

I'm very new to the API and I was looking for a way to get answers of a user. E.g. something like if you click on a tag in your tags section of your profile. For questions this seems to be quiet easy ...
4
votes
0answers
182 views

Announcement: StackExchange API Development Wiki

RIP August 24, 2010 - April 26, 2013 Due to lack of interest and the increasing burden of maintenance, I have decided to close down this wiki. Most of the information that it contains is ...
4
votes
1answer
132 views

Getting started: /users/{id}

I am trying to get the amount of reputation that a user has. I have established that I need to use this url: ...
1
vote
1answer
666 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
64 views

How do you list you stack exchange apps

I wanted to know how you're supposed to get a list of apps you've registered on the stack exchange api. I finally managed to find this url: http://stackapps.com/apps/oauth My question is this: How ...
1
vote
1answer
66 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 ...
2
votes
1answer
765 views

Get questions content from StackOverflow API

I need to get the question content from StackOverflow site. I already built the functions that parse the HTML for a question, and return me the question content. But, I found that there is an API, ...
8
votes
1answer
50 views

Whatever happened to closed_reason?

When pulling back info on a closed question, I have come to expect closed_reason to be a present key if there's a closed_date. It seems that as of recently this is no longer true. Proof: ...
2
votes
1answer
35 views

Can you identify a user from the access_token?

I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
2
votes
1answer
23 views

How can I re-authenticate StackAlert Addon

Recently I removed StackAlert Firefox addon from my apps list in StackExchange. Now when I reinstall it, it is not authenticating and giving message key is not valid for passed access_token.. How ...
3
votes
0answers
25 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 ...
1
vote
1answer
45 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
48 views

Getting questions that have a specific tag or tags?

In the current api (2.1) how do you get questions that have a specific tag or tags? e.g.: 1) All stackoverflow questions asked in the past 2 months tagged 'ruby'? 2) All stackoverflow questions asked ...
2
votes
1answer
55 views

Get accepted answers from Stack Overflow using Stack Overflow API 2.1

I want to fetch only my accepted answers from Stack Overflow using the API 2.1 and currently I've following code $data = ...
1
vote
1answer
29 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
25 views

What sizes are the images available through the /sites endpoint?

I see logo_url, icon_url, favicon_url, high_resolution_icon_url... But I wasn't able to find any information about any of those images in the documentation. Are any of them fixed size? And/or is ...
0
votes
1answer
152 views

Serel returns a JSON Parse error for the 'C#' tag

When I try requesting the tag c# via Serel, I get an error. This is the error I am getting: INFO][2013-02-25 02:06:42] Making request to /2.0/tags/c#/info?site=stackoverflow&key=mykey ...
0
votes
1answer
67 views

How do I find all questions/answers per a tag?

Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP. Per the docs the only thing I can see that will return questions in a ...
0
votes
1answer
23 views

ChatterBox configuration option is confusingly worded

ChatterBox - user script that adds inbox integration to Stack Exchange Chat! I'm confused over the option: Mark items as unread when you view them: Why would I want to mark items as unread when ...
1
vote
1answer
52 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 ...
4
votes
1answer
43 views

Does the API have a method to get the total favorite count of a question?

Like it says in the title, is the total favorite count of a question exposed anywhere via the API? I know about the favorites method, but that looks like it will give you the specific favorites of a ...
4
votes
0answers
27 views

How do I get the no. of upvotes a person has received for a particular tag?

I need the list of users who have more than 10K reputation and then among those users I need to see which user has how many up-votes for each tag. I don't there is a direct query that will give me ...
1
vote
1answer
43 views

Get my profile information after authentication

I am coding for a mobile application and using stack exchange API 2.1. I am able to implement oauth and I have access token also. Now I am trying to retrieve my profile information, like user_id, ...
0
votes
1answer
57 views

Write comment API failing with error_id: 500

I am trying to test post comment with the following URL ...
1
vote
1answer
11 views

What is the “Manage API Keys” link to the right of the StackApps.com frontpage?

When I click on it, I get a page that goes "Your Applications", then "No applications registered". Needless to say, this is different from "Manage your applications" link on the frontpage because I do ...
0
votes
1answer
31 views

Can I place my Android application here?

I have an Android application, which is written by me and placed on Google Play Store, Can I place that application on stack apps site ?
1
vote
0answers
41 views

Overwhelmed by unorganized information

As you can see I am a newbie, and trying to use stackexchange api for a school project. I spent 3 hours just trying to understand How to get started. Is there an example for me to follow? or A ...
2
votes
1answer
29 views

What's an example of the backoff field? Is there some way I can simulate it to test appropriate behavior?

In reading about the API rate limiting, the documentation talks about a method responding with an ominous backoff field, and states that the client should cease from calling that method for that many ...
2
votes
1answer
30 views

How do you trigger the search/advanced 'q' parameter to search all words?

When you search for “playa parents not working” on http://expressionengine.stackexchange.com, you’re brought to this URL: http://expressionengine.stackexchange.com/search?q=playa+parents+not+working ...
2
votes
1answer
70 views

What exactly is the 'user' on a post_timeline?

What exactly is the 'user' on a post_timeline? I am assuming that it is the user responsible for the action, if not the user, but I cannot be sure as the JSON structure used to document the results ...
2
votes
1answer
2k 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 ...
1
vote
0answers
136 views

How to login programmatically

I'm building an app for personal use. The app simply screen-scrapes the StackExchange homepage and checks whether I am currently logged in to StackExchange. This works fine. However, if the app ...
5
votes
1answer
388 views

Is it possible to authenticate a user through Stackoverflow API?

Is it possible to use the Stackoverflow API to authenticate a given user identity such as with Facebook, Twitter or OpenID? If it's possible: Can you tell me the method(s) that make this happen? ...
3
votes
1answer
56 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.
2
votes
0answers
30 views

Client Side Flow security problem

I'm not pretty sure, but if my app is enabled to Client Side Flow Authentication, then anyone with my client ID (easily found for being embedded or by sniffing the initial request) would be able to ...
0
votes
1answer
217 views

400 Error when attempting to retrieve authenticated user data

I am attempting to use the /me API to retrieve an authenticated user's details but I am recieving a 400 error. I am able to complete the OAuth2 dance and have been able to capture the access token ...
1
vote
1answer
25 views

How can I get beta sites to show on StackApplet (v1.5.1)

I installed StackApplet v1.5.1 and it works fine, although the refresh time of 5 mins minimum is a bit slow. However, I have an account in Robotics which is in beta state. How can I get notifications ...
4
votes
2answers
78 views

How to get a User's picture (Avatar)

I've seen a couple of StackApps that have the actual picture for the user profile. Is that coming from the API, and if so how? If not I'm assuming they are using some screen-scrapping to get that ...
0
votes
1answer
25 views

Algorithm for calculating filter

What is the Algorithm that one can use to make filters like !-u2CTCBE? For example /2.1/filters/create?include=question.body&unsafe=false returns "filter": "!9hnGssGO4". How is this String ...
1
vote
1answer
64 views

stack overflow data dump utility error - mysql

I have the SODDI v.11 utility (although the screen says v.10) I also have the SODD from 092011. When I try to import the SF/MSF data, I get: Table 'SF.VoteTypes' doesn't exist. It creates the ...
1
vote
1answer
26 views

Questions returned by /questions/{ids}/related do not contain link properties

The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all. Is there some sort of workaround to find the link for a ...
0
votes
1answer
108 views

JSON parsing, won't work

Hi i'm using the stackapps api, retrieving questions by tags the code works well, and the json is returned, now i need to parse the json and i think there is somenthing wrong with my code: $.ajax({ ...
0
votes
2answers
62 views

Ajax get questions by tags ERROR

i'm trying getting questions by tags. this is my simple code and i'm running this from my http://localhost: <script type="text/javascript"> $(function(){ $.ajax({ ...
2
votes
0answers
43 views

Is it safe to change the OAuth Domain?

I'm about to develop a small application that will use the Stack Exchange API. I understand that I have to provide an OAuth Domain when I register the application with Stack Exchange. Right now, I am ...
2
votes
0answers
43 views

Clarification on related tags for a tag returned by API

I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following: Returns the tags that are ...