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
151 views

Creating a PHP script to use the stack api

I would like to know how to use the Stack API and get all questions with a particular tag. I am coding in PHP. So I would like to write a script which can get all questions with a particular tag. I ...
0
votes
1answer
68 views

Find user using e-mail address

I'm wondering if there is a simple way of using the API to find users given their e-mail address. So far, I've found the following: the search API only lets you search for questions the users API ...
2
votes
1answer
67 views

Update the default filter editor to use the API key

When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of: ... "quota_remaining": 9424, ...
3
votes
2answers
64 views

Is it possible to get daily reputation change for a user via the API?

I'm trying to fetch a user's daily reputation change history for a project that's still early in the planning stages. I've been trying to use the "reputation" endpoint, but it seems like I can query ...
3
votes
1answer
22 views

How often should the /info route be accessed?

The /sites method makes it very clear that you should not invoke that route more than once per day: "It is suggested that you cache its return for at least one day..." However, the /info method ...
2
votes
2answers
48 views

Why aren't my application icons being used in the “Top Apps” list?

I've got application icons listed for each of my apps, but the "Top Apps" list shows the default "pages with gears" icon instead. Each time I've registered the application before posting a question ...
1
vote
0answers
28 views

Name changes for a few methods

The following method names have been changed for reasons of consistency. /access-tokens/{accessTokens}/read is now /access-tokens/{accessTokens} /filter/create is now /filters/create ...
3
votes
0answers
26 views

How can I get the “follower” count for a given tag on a site?

One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
1
vote
1answer
19 views

Would implementing both 1.1 and 2.0 APIs in an app/script to get around the API quotas be considered abuse?

In another question I asked it was established that The ip, and user/app-pair quotas are separate in V1.x and V2.0. So with this in mind would an app or script which implemented like methods for ...
0
votes
1answer
34 views

How do I get a filter to let through the fields I specify?

I've created a filter based on the "none" filter with include fields for all those I will need for my application. While the filter I created looks fine to me, it doesn't appear to return any results ...
1
vote
1answer
43 views

How to set the stack apps post for an application

On the app management page, when you select one of your apps it says stack apps post, and for me at least says not set. Clicking edit doesn't give an option to set it?
2
votes
1answer
39 views

User to de-authorise app?

The API makes use of OAuth to allow queries such as /inbox/unread. In the documentation however, I cannot seem to find a way for the user to control actively the authentication: Is there a place for ...
3
votes
1answer
825 views

API Implicit Authentication with Python

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
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?
2
votes
1answer
103 views

Conditional GET support for chat RSS feeds?

I'm trying to use one of the RSS feeds from chat.stackexchange.com in my application. I'm using the python feedparser package for this. Feedparser supports a couple of different "conditional get" ...
5
votes
1answer
204 views

How to register application for API implicit authentication?

I am working on an applet to for Cairo-Dock, to check the user's StackExchange inbox. Right now I've worked around this by using the genuwine json feed, but that's not stable since posts are marked as ...
3
votes
1answer
92 views

Is it possible to register V2.0 apps that are not web apps?

I want to register an app that will use the V2.0 API here: http://stackapps.com/apps/oauth/register. However, the app will run on a mobile phone so I cannot enter a domain name. What can I possibly ...
2
votes
1answer
18 views

No views_per_day in /info route?

I'm not particularly crying over it, just curious why the views_per_day field was dropped?
2
votes
0answers
33 views

Fairly subtle filter bug between 8 am and 10 pm UTC Dec. 29th

This is a public service announcement about a bug that most people probably didn't notice, but might be biting you pretty hard about now. Between 8 AM and 10 PM UTC December 29th, filters generated ...
7
votes
0answers
58 views

2.0 API get votes

I've been searching the 2.0 API for a list of my own (up and down) votes. I don't see them in the API. I don't think this is a prohibitively resource intensive query or that it can be used to ...
3
votes
1answer
35 views

What are the possible errors returned from authentication?

The title pretty much says it all, I couldn't find in the Authentication doc much about the errors (other than the HTTP code will be 400)?
4
votes
1answer
83 views

Access token quota

The documentation says that each user gets 5 distinct quotas of 10,000 requests per 24 hours, and as I interpret it, per app. If an application does have an access_token, then the application is ...
2
votes
1answer
76 views

How to provide a logout button for authentication?

How would you provide a logout button for an app that uses authentication. (Not so that the user has to choose to accept or reject the app, that's deleting the app from their tab) Basically force the ...
2
votes
1answer
170 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 ...
3
votes
1answer
1k views

Invalidating access token vs de auth app?

Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
1
vote
1answer
26 views

What are the paging parameters to the info method used for?

As far as I can tell, there can only be one info object returned from the info method, so why does the method take page and page_size?
1
vote
1answer
41 views

Policy on shipping working examples that use the explicit authentication flow in an SDK?

I'd like to ship a working example of using the explicit authentication flow in Stack.PHP. I have no trouble embedding the API key and app ID in the example. The problem lies in embedding the client ...
5
votes
1answer
120 views

Is there a way to programmatically access chat?

I'm thinking about starting a project where I'd like to have access to the "chat" feature of the stack exchange sites. I saw this project here: ...
0
votes
1answer
44 views

Same redirect URL for Approve and Reject

Why, when I'm requesting /oauth/dialog and selecting either of the options I get redirected to the same URL with different hash values? It's not a bug per-se, just an observation I made while ...
1
vote
1answer
34 views

Point of /users/{id}/inbox?

What is the need for the user ID in: https://api.stackexchange.com/docs/user-inbox Given that it will only return the inbox of the authenticated user, and deny a mismatching user id. The only needed ...
2
votes
1answer
83 views

API v2.0 Developing desktop app

If I am developing a client side application, what kind of domain should I provide to 0Auth callback? Can it be a custom application-centric scheme (like myapp://oauthcallback/)?
2
votes
1answer
104 views

Am I out of luck if my http client doesn't support gzip decoding?

I'm playing with the oauth2 support in v2-beta with an http client that doesn't support gzip decoding. (My client is http spec compliant but can't deal with the non-compliance of the api on this ...
0
votes
1answer
39 views

How to get questions higher than ID

How can I get questions sorted by Question_Id in descending? (Sorted by creation is working) and how to get questions higher than given ID (or higher than last questions creation), my idea is to get ...
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 ...
2
votes
1answer
47 views

Answers without owners

Is it valid for StackOverflow data to have an answer that does not have an owner? For example if you hit the following API url http://api.stackoverflow.com/1.1/answers/18, it does not bring back an ...
1
vote
1answer
38 views

Is there a maximum on the number of search results returned (using the SO API)?

I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
0
votes
1answer
18 views

User on main site, also on meta?

If a user has an account on one of the stack exchange site, I thought they had an account on it's Meta site. This doesn't seem the case in the associated users API route for one user (that's all ...
5
votes
2answers
94 views

Prefered way to retrieve all search results

I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size). Looking at ...
2
votes
1answer
91 views

How do you get the association_id from the CC data dump?

I am working with StackExchange /users/ data and trying to get a user's "united" profile, to see what sites they're active in other than the queried site. As an example: ...
1
vote
1answer
65 views

How to get the actual “body” of a question or answer?

How do I actually get the body (i.e. the textual content) of any say question or answer. For example, for question (id= 7406104), I call: http://api.stackoverflow.com/1.1/questions/7406104 But in ...
0
votes
1answer
44 views

StackAuth.com user's id

What ID should I pass to stackauth.com/1.1/users/{id}/associated url to get user's associations? The description of the api call states: id – a set of up to 10 users' association ids, obtained ...
2
votes
1answer
146 views

Where do I get UUID for fetching user's associations?

Yesterday (09/17/2011) I could go to my stackexchange site's profile page and grab UUID from the url: I could use this UUID to fetch user's associations with stack exchange network. Now said URL ...
1
vote
0answers
107 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
1answer
37 views

API to get the small tag info displayed in the popup

I do not know if this is possible, or if this is even prohibited, but here goes. I am creating a website where I talk a lot about the web and different programming languages. Now I want to create ...
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 ...
2
votes
1answer
186 views

Using the API directly from JavaScript

Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
2
votes
0answers
24 views

FAQ's URL for any SE Site?

Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant): Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
0
votes
0answers
42 views

Stack family site [duplicate]

Possible Duplicate: Can i make an internal Q&A site like StackExchange? I've had a brief look at the stackapps site and the StackExchage API, but I was unable to answer myself the ...
0
votes
1answer
31 views

Sort options explained

I have read the doc here but I'm quite confusing because I still don't understand the semantic behind each options. Would you like to detail the different options ? activity (default) votes creation ...
0
votes
1answer
37 views

Make API query to only one Stack Exchange site

Is there a way to limit a /search or a /similar query to a specific site or sites?