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

2
votes
1answer
36 views

What's the difference between the Stack Exchange API and the Stack Overflow API?

I heard about the Stack Overflow API. Is there a Stack Overflow API available. Or is it the same as the Stack Exchange API?
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 ...
2
votes
0answers
28 views

Can I ask the API to tell me to back off? [duplicate]

I'm creating a bot that collects all tags from a given site (and over all sites in the network). I would obviously like to run this bot in as little time as possible, but I also do not want to overly ...
0
votes
1answer
25 views

What about actually identical requests?

Now, it says here that I should not make lots of semantically equivalent requests. It also says that there is a lot of caching. So I was wondering, what about exactly identical requests. Should I wait ...
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?
2
votes
1answer
56 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 ...
4
votes
1answer
147 views

Why am I being told to backoff when I'm well within my API limit?

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff. I only run the app once a night and don't really pull that much data. I ...
1
vote
1answer
77 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 ...
2
votes
1answer
97 views

Is it possible to access data in real-time using the Stack Exchange API?

I want to show an animation of: Questions being asked and answered in the most popular tag Comments being posted New users joining All in real time. Is there access to real-time data?
7
votes
2answers
84 views

How to get data related to Winter Bash?

I was thinking of creating a nice question on Programming Puzzles & Code Golf related to Winter Bash 2014, but I need some specific data for that question - The number of hats of each user. Is ...
1
vote
2answers
46 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
88 views

Looking for a script to show countdown timer below posts for easier edits

On Stack Exchange sites, edits that are made within 5 minutes of posting a question or answer aren't counted. This is called the grace period. For example, if you post a new answer, and edit it after ...
0
votes
0answers
32 views

Review queues – bypassing/shunning “honeypot” stuff

Is there a solution against “honeypot” posts in review queues? As far as Ī noticed, there can be rather simple test: although the edit link (/posts/⋯/edit) is present below the “post”, attempt to ...
0
votes
0answers
65 views

400 (Bad Request) error in time of creating question using StackExchange API

I am trying to create a question in StackOverFlow using write-access API(https://api.stackexchange.com/2.2/questions/add). I have provided the parameters as required but a "400(Bad Request)" error is ...
1
vote
0answers
14 views

How do I sort the /2.2/notifications endpoint?

I do not find information on the notifications api page. I am looking at this: https://api.stackexchange.com/docs/notifications I would like to be able to sort by creations date and other fields. is ...
1
vote
1answer
52 views

“We are no longer accepting questions from this account.”. Error with write access, using the API

I have created an application for testing write-access APIs. After registration, I can successfully retrieve an access token by hitting the URL: ...
0
votes
0answers
27 views

Sandbox for testing Write APIs [duplicate]

I am developing am app for posting questions in StackOverFlow. In order to testing the app I am looking for a sandbox. I came to know regarding the following sandbox: ...
3
votes
1answer
26 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 ...
1
vote
1answer
43 views

“client_id rejected” error when retrieving the access_token

I'm developing an application in C# and I to post questions, so I need an access token. I registered my application and I have received a client ID. Then I get the following query-string to get the ...
1
vote
0answers
29 views

Procedure for posting questions using the API, v2.2?

I want use one of the Stack Exchange V2.2 API (e.g. /questions/add) to post Stack Overflow questions from my website. I didn't find any app which is currently using the API for posting questions. As ...
1
vote
1answer
24 views

`last_editor` is missing but `last_edit_date` is present?

Some posts (questions or answers) have a last_edit_date but no last_editor. Does this always mean that the post was last edited by the post owner? Example: stackapps.com/a/3891/ PS: This issue ...
1
vote
1answer
154 views

Searching on Stack Overflow and using the API give different results?

I am trying to use the Stack Exchange API to see the trends on different topics. Looking at the API documentation, I see that I could do this using the /search path (it's documented that this method ...
0
votes
0answers
53 views

How to generate an Access Token using .net?

I am trying to develop an .NET application to consume Stack Exchange APIs. I can consume GET methods. Now, I want to call Stack Exchange API /questions/add to add questions. This API needs an access ...
0
votes
0answers
36 views

How to get my StackOverFlow API Key [duplicate]

I used to login in StackOverFlow site using my Gmail Id/password.How I will get my StackOverFlow API key? I require that key to fire a StackExchage API which requires authentication. Also, could ...
6
votes
2answers
171 views

Is there an API to upload images to SE's imgur installation?

Is there an API for uploading images to the StackExchange-specific imgur installation? I could use the main imgur site, but they don't keep the images indefinitely. Use case: It would be ...
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, ...
1
vote
1answer
25 views

Is there any API or documentation that would help my adding functionality to Q&A textareas?

I'm writing an userscript that should add some functionality to the main textarea (WMD) used to post and edit answers and questions. The functionality will usually need to do things like insert text ...
3
votes
1answer
34 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 ...
0
votes
0answers
35 views

Authentication not working properly

I'm using python to test the API calls and made a request for authentication specifying: client_id, client_secret, etc., to https://stackexchange.com/oauth It returns a 200 response. One issue here ...
1
vote
1answer
45 views

StackExchange API's request data is blank in Drupal 7

I'm trying to implement this simple request in Drupal 7 on my local machine: $request = ...
2
votes
1answer
43 views

Is developing, with the Stack Exchange API, possible on my local machine?

I'm sorry if this question seems trivial for the most of you but I'm not very familiar with OAuth and the Stack Exchange API. Is it possible to use this API in local environment for the development ...
2
votes
1answer
60 views

Does verifying OAuth2 `access_token` validity count towards API call quota?

Does this Stack Exchange API endpoint count towards quota usage? : http://api.stackexchange.com/docs/read-access-tokens (This is the most promising API call I found for verifying the validity ...
1
vote
1answer
15 views

How do I update redirect_uri param for a StackExchange App [duplicate]

I've created a StackExchange app but now I cannot find the edit page so I can update the app settings, like: redirect_uri - which is an OAuth param
0
votes
1answer
72 views

How to sort by the newest question?

I'm trying to retrieve the latest questions posted in a particular tag. What's the equivalent for: http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15 I see that v1.1 API is ...
4
votes
2answers
219 views

Getting unauthorized_error when using OAuth2.0

I want to create a simple desktop application which connects to my account and shows some information in the status bar. I've been trying to authenticate using OAuth2.0 but I'm getting stuck and I ...
0
votes
0answers
29 views

“error_id”:500,“error_message”:“this error has been logged”,“error_name”:“internal_error”

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error ...
0
votes
0answers
13 views

Test API for marking favorites (placeholder)

I want to create an API service in my application which marks a question as a favorite. (Possible question about using access token?)
0
votes
1answer
18 views

Problems opening a question link into an iframe

When we execute a search request we can get back a list of matching questions. One of the properties of the response is called "link" which is a URL to the question itself. In my application, I ...
1
vote
1answer
67 views

How do I find a user by their `display_name`?

I am using Serel (the Ruby wrapper) and would like to be able to find a user by their display_name. As it stands right now, I can only find them via an ID - like Serel::User.find(1,2,3). I tried ...
0
votes
5answers
2k views

Get user data using curb in Ruby

I am trying to get user data in my Rails app. I am doing this: url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext" curl = Curl::Easy.new(url_so) curl.perform data_obj = ...
0
votes
0answers
50 views

Hashed URL causes an infinite loop when setting jQuey-UI script source

When we visit a URL with a hash (direct link to answer or comment), there's a yellow background fadeout effect, example with #commentNumber: ...
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 ...
0
votes
0answers
11 views

stackoverflow call returning some zipped data when I call from server side [duplicate]

When I call stackoverflow api from server side of my meteor application, I'm getting the follwoing result query var futt=new Future(); var userDetailsURL = ...
1
vote
0answers
52 views

(Unofficial) Stack Overflow, Windows Phone app forgets its place when sleeping

Sometimes, when I'm reading a question on this (unofficial) Stack Overflow, Windows Phone app, the phone goes to sleep. When I wake it up, it's forgotten I was reading a question, and has gone back to ...
0
votes
0answers
84 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 ...
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 ...
2
votes
0answers
68 views

StackPrinter Greasemonkey script is broken

I have previously installed and been working with the "StackPrinter" Greasemonkey script -- which displays a button on each Stack Exchange question to print that question with StackPrinter. Now, that ...
5
votes
3answers
179 views

Stack Exchange userscript template / boilerplate

I find it annoying to have to type the entire list of Stack Exchange sites to include every single time I make a new userscript. Furthermore, jQuery isn't automatically included by default. Is there ...
0
votes
1answer
49 views

“access_denied” error in the write answer at stackoverflow [duplicate]

I am providing an application (windows application), This application can search in the stackoverflow and show results. Then User can write answer for that Question or write comment for that, Now my ...
1
vote
1answer
125 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?