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
2answers
229 views

Can I apply the API Key first and do the application later?

I don't have an application to submit at the moment, but can I apply the key first?
2
votes
1answer
199 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 ...
1
vote
1answer
293 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
3answers
164 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 ...
5
votes
1answer
38 views

Do calls on the 1.1 API and the 2.0 count against each other's limits?

Do the old 1.1 API and new 2.0 share limits? Or do my StackApps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
5
votes
1answer
440 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? ...
5
votes
0answers
143 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, ...
4
votes
1answer
108 views

Area51 does not show up in the associated accounts query

Is this on purpose and if yes why?
4
votes
2answers
225 views

rate-limit per endpoint per IP VS. server apps in hosted environments

I was wondering if the scenario of a server based app that lives in a hosted environment, where a single IP can be shared by many web sites. As I understand the rate-limit as it stands, every site on ...
4
votes
1answer
74 views

What is the rational behind the chosen /sites styling info?

I was wondering why the chosen styling data is provided though the API. It makes sense to provide it, but I feel like we are only getting part of the information. "styling": { "link_color": { ...
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
99 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
0answers
40 views

All updates (answers, comments etc) using stack exchange API

Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question? checking for answer changes is easy cause its a top ...
3
votes
2answers
224 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 Stack Overflow" 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 ...
2
votes
0answers
57 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
2
votes
1answer
46 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? ...
2
votes
1answer
22 views

How to get up_vote_count and down_vote_count for a user?

I'm testing the following command: $ curl -s "http://api.stackexchange.com/2.1/users/55075?&site=stackoverflow" | gunzip -d | python -m json.tool However it doesn't return up_vote_count and ...
2
votes
1answer
49 views

Unable to download data from the API using UNIX wget?

I want to download the JSON data from this sample API call into a file. I tried using wget, like so: wget -O ~/ks/json.txt ...
2
votes
1answer
71 views

Request for script, or fix, to add Edit-Reason checkboxes

I've found a Stack Exchange userscript which looks GREAT - it would make things so much easier for me: The Edit summary options script Unfortunately, it doesn't work at all! I'm not sure why. My ...
2
votes
0answers
157 views

OAuth2 Authentication Redirection error in PHP

I'm trying to authenticate into Stack Exchange's API with the following URL: ...
2
votes
1answer
83 views
2
votes
1answer
164 views

How do I get a GreaseMonkey/UserScript to interact with the Live Preview?

I've converted a script that I hope to get embedded on a StackExchange site (Lego Answers) to a GreaseMonkey/Userscript but I'd like to get it interacting with the live preview when creating or ...
2
votes
1answer
115 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 ...
2
votes
1answer
89 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 ...
1
vote
0answers
33 views

Can I see my past upvoted questions in handset APP?

It's not hard to find questions upvoted by me from the website. But I cannot find any access to them in the ios app. I guess neither does android app. Did I miss something or is it a feature not ...
1
vote
2answers
73 views

How to use the StackExchange object on a userscript?

This object seems to be available in all Stack Exchange pages and contains interesting information about the actual page, site, user, among others. Just type StackExchange on the console to check it ...
1
vote
0answers
77 views

400 when posting a question to the Stackexchange API

I am adding a question via the API and I manage to create a preview of my question (See JSON extract below). { "has_more" = 0; items = ( { "creation_date" = ...
1
vote
1answer
89 views

How to increase the allowed number of API calls?

Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app). Is it possible to get that number increased?
1
vote
0answers
52 views

StackX app - problem signing in with Google ID

I have a problem with StackX app on my Samsung Galaxy 4 phone (Android 4.3). I'm logging to StackExchange in general, and StackOferflow in particular, using my Google ID. The app does not recognize ...
1
vote
1answer
783 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
0answers
163 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 ...
1
vote
1answer
69 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
0answers
47 views

Are “api-key” and “app-key” the same thing?

When tagging my last couple of questions about registering for a key I noticed there are two similar-looking tags: api-key - 17 uses and a tag wiki app-key - 8 uses, no tag wiki Do they ...
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
69 views

Pagination of users ordered by reputation

I know I can retrieve a page of users ordered by reputation using these apis: http://api.stackoverflow.com/1.1/users/?sort=reputation&order=desc&page=1 ...
1
vote
1answer
138 views

Implicit OAuth flow is not working when the user is not logged in.

Here is the URL I am trying to use: https://stackexchange.com/oauth/dialog?client_id=120&scope=read_inbox,no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success This works ...
1
vote
1answer
60 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
56 views

Is the question_id monotonically increasing?

Just wondering: Does the question_id monotonically increase for every new question? Is the question_id unique globally for a deployed app or is it unique in some sub-domain? Is there any relation ...
0
votes
0answers
16 views

How to call editor commands from the outside?

When initialised, the SE editor instantiates CommandManager: this.run = function () { if (panels) return; // already initialized var commandManager = new CommandManager(hooks, ...
0
votes
0answers
85 views

Exception while calling the API using code which works with local json file

I have written a Java application to fetch questions from Stack Overflow's site. The following is the output of the URI (System.out.println("GET " + get.getURI()); GET ...
0
votes
0answers
53 views

How to configure Stack.PHP in a public released application?

I'm working on a WordPress plugin that displays all Questions or Answers from a given user in a given Stack site. In my config file, instead of checking for IMPLICIT, I'm simply using // ...
0
votes
1answer
24 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 ...
0
votes
1answer
74 views

Write comment API failing with error_id: 500

I am trying to test post comment with the following URL ...
0
votes
1answer
656 views

Handling working of PHP API key on webpage

I'm building a phpapi and in this api will be giving my clients API key generated for each client. So basically my client will be sending client id, his personal data(to be stored in DB) & an ...