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

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
12 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
89 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
75 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
195 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
52 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
138 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?
5
votes
4answers
225 views

My App unintentionally DoSed api, and my IP got blocked across all the sites, now what should I do?

I put a program in cron to run every 5 minutes, and that program loop 5 times and read each api site 12 seconds interval. But last night (12 hours ago), I noticed that my program broke and there was ...
0
votes
0answers
45 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
45 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 ...
2
votes
1answer
113 views

Why am I getting a 404 when trying to post a comment?

I'm dabbling around in /posts/{id}/comments/add, and I'm trying this query: ...
2
votes
1answer
31 views

Syntax for Adding a Question as a Favorite?

I would like to be able to have my application make a request to the Stack Exchange API to favorite a question for the current user. The API specifies that this can be done via: ...
0
votes
1answer
252 views

How to programmatically retrieve the access_token from client-side OAuth flow?

I'm making an application in C# and I need to both search and post answers, so I need an access token. I found some information, libraries, and code pieces: The authentication guide for the Stack ...
3
votes
0answers
44 views

How to quickly retag a question from the API?

I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far: $editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . ...
28
votes
1answer
1k views

Announcing API version 1.1 and Roadmap

As has been announced on the blog, we're rolling out a minor revision of our existing read-only API. While the blog post gives some high level details, I figured [app] developers would appreciate ...
2
votes
1answer
13 views

In lieu of write access, can a user be referred to a site with title and tags in the URL?

For an app I'm working on, I'd like to refer users to Stack Overflow instead of providing an "Ask a Question" interface. Users will enter their question and I'll be using the similar API to suggest ...
0
votes
0answers
30 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
1answer
83 views

Getting Error 400 when using Authentication Broker in Win 8 App for Stackexchange API

I'm trying to connect to Stack Exchange API using OAuth. So far I've been able to get a token and retrieve data that does not require authentication. When i try do query that uses the authentication, ...
0
votes
0answers
101 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 ...
1
vote
0answers
34 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 ...
3
votes
1answer
97 views

Do I need Stack Overflow's permission to launch my iOS app for Stack Overflow?

I have a Stack Overflow app for iOS that doesn't use the API. It just uses search and web (scraping?) to display questions. Do I need to get approval the from Stack Overflow team?
1
vote
0answers
30 views

How can I create a Stack Exchange app for windows phone? [duplicate]

There is no apps available for SE for windows phone platform. So I'm ready to develop one. How can I do? Please explain the procedure.
3
votes
2answers
308 views

Stack Overflow reputation API

I am creating one wordpress widget plugin that display different types of social media fans and followers counts. After that I feel that i also include Stack Overflow reputation for specific users. ...
1
vote
0answers
24 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 ...
7
votes
1answer
220 views

My app has to be published first? But it's still under development

Okay, I want to build an App that allows me to create questions on Stack Exchange. I registered it here on Stack Apps but now when I want to create a question I get this message: { "error_message": ...
1
vote
1answer
35 views

Can I retrieve the API interfaces via the API?

I'd like to retrieve a list of methods with their arguments/defaults and their return types through automated means. Is this possible and, if so, how can I do it? This isn't just for curiosity's ...
4
votes
1answer
83 views

Complete list of sites to @include / @match into my script?

This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.
4
votes
1answer
33 views

Possible to get a user's flag history?

Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag? I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
3
votes
1answer
48 views

StackExchange API /sites/ does not return all the sites

I am working on one application that produces timeline of user on every site of StackExchange.. We have some users on Sharepoint.stackexchange.com.. Since I want list of all the sites, I am trying to ...
1
vote
0answers
80 views

Unhelpful error message when attempting to authenticate

I moved my app to a different server as part of a rewrite, and forgot to update the URL of the app on Stack Apps. When I tried to send a query to https://stackexchange.com/oauth and pass my (old, ...
0
votes
1answer
153 views

Post to Stackoverflow

Is it possible to post a question to Stack Overflow using PHP in the same way that it's possible to post content to Facebook?
1
vote
0answers
32 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
1answer
142 views

Javascript SDK channelUrl for local development

I am trying to get started with the Javascript SDK. I am developing on a web server on my local machine. I get a channelUrl-related error when calling SE.init. My code: SE.init({ clientId: ...
1
vote
0answers
250 views

OAuth login fails for Stack Exchange and Facebook, but not Google

I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
5
votes
1answer
58 views

List of Votes by Authenticated users

In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question. ...
3
votes
0answers
162 views

Application Key and AccessToken are not working for Stack Exchange API?

I am having issue while using access_token in my request. I have followed following Doc and used explicit OAuth 2.0 flow for access_token generation. ...
90
votes
4answers
20k views

API “Hello World” code

The Stack Exchange API is based on HTTP and URLs, just like the web page you're browsing now. Except instead of HTML, the responses are all in JSON. Let's say we wanted to call the /info method: ...
0
votes
1answer
37 views

Are the “body”, “comments” and “answers” parameters supported in the API version 2.x?

Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x. Are these parameters not supported in new API? Are ...
3
votes
1answer
26 views

What is “accept_rate” in the Stack Exchange API?

when I call the /users path, like: /docs/users-by-ids#&ids=1&site=stackoverflow In the reply, I get a field called accept_rate. What is that field about?
1
vote
0answers
36 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. ...
1
vote
1answer
33 views

Authentication Statistics are the same for all apps

I know the stats are new, I'm not sure if they are still in development. But they are identical for the 3 apps I have registered, given that the app's id is in the URL of the stats page, I guess the ...
2
votes
1answer
128 views

How to make a Stack Exchange API call, using my key

I have a Meteor application and I'm making API calls like: var urlString = "http://api.stackexchange.com/2.2/users/"+surl; HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}}, function ...
4
votes
1answer
96 views

No website (yet), how to register?

I just started developing a Stack Overflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...