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
1answer
43 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
41 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
49 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 ...
0
votes
1answer
12 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
214 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
27 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
17 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
48 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
30 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
10 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 = ...
0
votes
0answers
49 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
73 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
72 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
66 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
167 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
44 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
111 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
224 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
42 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
40 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
109 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
29 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
200 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
42 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
27 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 = ...
-1
votes
1answer
71 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
87 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 ...
2
votes
1answer
25 views

My registered apps are not showing in my profile; where can I find them?

I registered two apps in Stack Apps, but when I access my account, it shows no registered apps. How can I mark them as my apps and how can access app settings (client id, key), etc?
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 ...
3
votes
1answer
84 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?
0
votes
0answers
27 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
280 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. ...
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 ...
7
votes
1answer
187 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
34 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
81 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.
3
votes
1answer
30 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
43 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
71 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, ...
-1
votes
1answer
142 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
votes
2answers
113 views

How to search my threads based on some key words?

As I have already many threads in some StackExchange sites, sometime I would like to be able to search among them, for instance, based on some key words. Does anyone know how to do that? Thank you!
0
votes
0answers
30 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
128 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
225 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 ...