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
0answers
71 views

Java exception when user age or location is unspecified in returned JSON

I am brand new to the Stack Exchange API and Android (well, self taught in the last four months). I have been working on creating a school project focused around Android and JSON. My initial idea was ...
1
vote
0answers
27 views

How do I derive the parent question from an answer in the /posts call?

So, I'm parsing every post - question or answer - for a concordance that I am building. (If you're interested, you can see where I am at http://seconcordance.cloudapp.net. Don't worry - full ...
1
vote
0answers
59 views

Stack Overflow question downloader in markdown or HTML format?

I want to download a series of questions from Stack Overflow; is there a tool or API that can do this? The download could be in markdown or HTML format. I basically want an offline reference for ...
1
vote
0answers
18 views

Is there an API for adding a user to a site?

With 2.2, I've begun implementing some write features in my app. I've started with voting. When you vote on a question on a site that isn't in a users associated accounts, you get the error "The ...
1
vote
0answers
72 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
0answers
33 views

How to search answers like is:answer

How can I use the API to search for answers containing particular text or with particular properties? For example, this link allows me to search for is:answer foo, that is, answers containing foo. Can ...
1
vote
0answers
91 views

localhost API key receives Curl error when retrieving access token

I have registered two apps -- one that will redirect to my website and the other that will redirect to a localhost server that I have running so I don't have to test my code on the site. I have ...
1
vote
0answers
127 views

What should I put in redirect_uri for implicit OAuth 2.0

From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error ...
1
vote
0answers
1k 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
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 ...
1
vote
0answers
158 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
0answers
18 views

Better Call /me maybe?

I am using implicit OAuth 2.0 flow, hence requesting for a token first. Now when I want to know which user has logged in, I have to make request to /me endpoint to get all of the data about the user, ...
1
vote
0answers
46 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
0answers
23 views

How should we announce updates to our apps, scripts, libraries, etc?

Is there a recommended best way to let the stackapps community know that we've released an updated version of one of our projects? We can edit the project's page and bump the version number, but this ...
1
vote
0answers
47 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 ...
1
vote
0answers
144 views

Why does the web service fail sometimes for the Stack API?

It seems to have happened all of the sudden. My calls to the web service fails. What is the limit of calls per day with a registered app? I can't seem to remember where it says that, I can't seem to ...
1
vote
0answers
85 views

String formatting in returned JSON objects

So I sat down this evening to play with the Stack Exchange API. I downloaded RestSharp, and used it to call the API. One thing the struck me was how strings are formatted, with regards to non-ASCII ...
1
vote
0answers
47 views

Why user/top-answer-tags doesn't return any results?

I userd python to call ansauthor=site.user(641) in the cooking website. then I used ansauthor.top-answer-tags However, it doesn't return anything. Then I called ansauthor.top-answer-tags.fetch() It ...
1
vote
0answers
44 views

Would it be a problem if my server polls the API every minute or so about 1 of my questions on my list?

I know that officially identical requests cannot be done in more than one minute. But would it be a problem if I had a server which had a list of question IDs (say 10 per user, so reasonable max ...
1
vote
0answers
104 views

How to get a users reputation ranking/position?

Using the SO API request http://api.stackoverflow.com/1.1/users/{userId}, I can get a user's current reputation score with no problems. What I'd like to know is where the user's rank in the set of all ...
1
vote
0answers
21 views

Does stackapplet support an http proxy ?

I installed stackapplet on Ubuntu desktop 10.04 from their PPA. This installed stackapplet version 1.5+151~lucid1. This is my computer at work and it is behind an http proxy. I couldn't find anywhere ...
1
vote
0answers
55 views

Maximum tags for a question on any SE site

Is the maximum tags for all SE sites (and those in the future) 5?
1
vote
0answers
71 views

Why have routes /badges/name and /badges/tags been favored over respective query parameters for /badges?

I realize that the API is frozen, hence tagging this as support rather than feature-request or bug - I'm irritated about the two routes /badges/name and /badges/tags: They seem to simply filter down ...
1
vote
0answers
66 views

What's the default fromdate for the /users/{id}/reputation route?

I'm getting different amounts of positive-rep when I use the fromdate and todate parameters with the /users/{id}/reputation route than when I don't use those parameters and accept the defaults. I ...
0
votes
0answers
6 views

Question up-voting is not working from my code?

I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route. But in the log, it's just showing something like: ...
0
votes
0answers
21 views

How can i extract a user information on Stack Overflow using Python and stack Overflow App

I am new to python. I want to extract a user bio, answers, questions they made in Stack Overflow. Can I do that using the API? For ex: can I extract the user: name bio and number of questions ...
0
votes
0answers
25 views

Does a user only need to log in once to access all sites?

When I use stack exchange sites on my desktop web browser, I log in once using stack exchange ID and then when I navigate to sites I don't belong to, it automatically associates me with the new site. ...
0
votes
0answers
31 views

Official support for SE apps

Is SE a company, or to put it another way, is it possible to develop apps for SE itself, rather than as a 3rd party? I find it frustrating to get to a complete list of my sites, you have to go to ...
0
votes
0answers
22 views

Showing Different user on posting a comment on test environment

I am testing stack exchange API to post a comment to the test environment(http://meta.stackexchange.com/questions/3122/formatting-sandbox).I am providing the client_id and key for my current ...
0
votes
0answers
30 views

How can I show recently answered questions and answers in my blog site?

I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this. Also, from what I can see, in order to use the API a user needs ...
0
votes
0answers
31 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
40 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 ...
0
votes
0answers
25 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 ...
0
votes
0answers
20 views

Watch my content

How can I "keep an eye" on all my content on SE? Due to policy, users aren't notified when their questions or answers are deleted, despite numerous feature requests. I've looked at StackCenter but it ...
0
votes
0answers
42 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
15 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
28 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 ...
0
votes
0answers
25 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
11 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
0answers
44 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: ...
0
votes
0answers
69 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
41 views

Py-StackExchange to return a list of questions

I want to use Py-StackExchange to get a list of questions from Stack Overflow. I know there is a way to get just a constant list of questions: import stackexchange so = ...
0
votes
0answers
39 views

How does the /users/login/global/request work?

I'm rather just toying with some raw HTTP communication between a program and the stack exchange sites. This means I'm trying to act as a browser would. So far, I didn't even achieve to make a ...
0
votes
0answers
25 views

How to get the: answers, votes and comments of a question using the Py StackEchange library?

I am using the Py StackEchange library and trying to fetch the answers to a particular question using the question id: import stackexchange so = stackexchange.Site(stackexchange.StackOverflow) me = ...
0
votes
0answers
82 views

Using StackApp Oauth with iOS custom url schemes

I am trying to create some demo application for iOS using the Stack Exchange API. I could not however, get the OAuth authorization done. I have used the custom URL schemes in my application. I open ...
0
votes
0answers
21 views

Get reputation changes across all sites without querying each one individually

I'm looking to make an app that shows your reputation changes throughout the network. /me/reputation-history/full almost accomplishes this, but it's on a per-site basis. I only want one query to get ...
0
votes
0answers
29 views

Please make an “Awesome New Tab Page” widget for Stack Exchange

For Chrome there is this neat extension called Awesome New Tab Page. Please consider making a Stack Exchange widget for this extension.
0
votes
0answers
43 views

Is there something like Twitter's `verify_credentials` for this site?

Is there something like Twitter's verify_credentials for this site? How would you use it? It is useful to get the response to know if authentication was successful or not. In Twitter you can do it ...
0
votes
0answers
31 views

Differences between versions 1.x and 2.x of the Stack Exchange API?

I had written a Java Wrapper for the Stack Exchange API, version 1.x, Which was working perfectly. But, since 12 May 2014, services for version 1.x have been shutdown and my Wrapper stopped working. ...
0
votes
0answers
48 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 ...