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
47 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 ...
6
votes
0answers
45 views

What to do with “OAuth Domain” in the registration page for a browser user script?

I want to register my first project so I can make more API calls without hitting the limit now that it seems to be good enough for others to use. My project is a browser userscript that works with ...
1
vote
1answer
145 views

Javascript SDK init fails on sytax error…why?

I'm writing a user script and I want to hit the SE API for something, but SE.init is failing without much feedback indicating what the issue is. According to the documentation, it should be ...
1
vote
0answers
42 views

How can my app authenticate users with only a Stack Overflow account, using the Stack Exchange OAuth API 2.1?

Recently I registered an app in stackapps.com to provide a way to authenticate users with their Stack Overflow account. Then I noticed that Stack Exchange OAuth only works for users with a Stack ...
2
votes
1answer
28 views

How can I get a list of favorite/ignored tags?

I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
2
votes
1answer
34 views

List of object types on SE API v2.0+

Beware: The API is Huge!! Below is the list of all the "types" of objects returned by the API v2.0+ :- Note: v2.1 specific types are noted in a seperate box Type | Field ...
2
votes
1answer
49 views

Maximum length of “about me” in the Stack Exchange API?

What is the Maximum length of "about me" in the Stack Exchange API? The one from the /me path. And in general, where are the length limits published? If anywhere?
1
vote
0answers
896 views

StackOverflow android application to answer questions

I am a regular answerer on StackOverflow and I have been trying to use my Android phone for my workflow, but unfortunately the mobile Web application is very cumbersome to use: for example, the ...
1
vote
1answer
143 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
335 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
183 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
137 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
684 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
842 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
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 ...
1
vote
1answer
47 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
51 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
56 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
30 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
165 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
53 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
59 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
72 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
138 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
395 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
62 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
226 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 ...