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

7
votes
1answer
92 views

Add close-vote information to the questions object

Would it be possible to add close/reopen vote information to the questions object? For example, you usually see something along the lines of: close (3) when a question has three (current) ...
2
votes
1answer
29 views

Is there a way to get the edit URL for a tag wiki from the API?

I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github). One thing I would like to do is add links for the various tag-related ...
1
vote
1answer
965 views

how to get access token from redirect uri in android

I enabled both client side flow and desktop oauth redirect url, and manage to get the user login and get redirected to https://stackexchange.com/oauth/login_success#access_token=xxxxx But how can i ...
1
vote
1answer
64 views

Pagination of users ordered by reputation

I know I can retrieve a page of users ordered by reputation using these apis: http://api.stackoverflow.com/1.1/users/?sort=reputation&order=desc&page=1 ...
7
votes
1answer
38 views

Can I determine the post that caused a user to earn a badge?

Some badges, like 'Yearling' are associated with a user. Other badges, like 'Great Question' and 'Great Answer' are associated with a post as well. When I fetch the recipients of the badges, I get a ...
1
vote
1answer
31 views

Does the API allow us to pull down a user's subscriptions?

When I joined the site, I found that I could subscribe to hear about new posts within my favorite tag/filter. I started receiving daily emails with the latest posts in those categories. I can't find ...
0
votes
1answer
28 views

sites method styling code problem

One of the site returned from the sites method has the following styling codes "site_type": "main_site", "name": "GIS", "logo_url": "http://sstatic.net/gis/img/logo-small.png", ...
1
vote
1answer
115 views

Implicit OAuth flow is not working when the user is not logged in.

Here is the URL I am trying to use: https://stackexchange.com/oauth/dialog?client_id=120&scope=read_inbox,no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success This works ...
3
votes
1answer
23 views

What's the simplest way to detect if a question was asked by a user whose account has been deleted?

What's the minimum filter and simplest way to detect if a question (by its ID) was asked by a user whose account has been deleted?
2
votes
1answer
26 views

Is data retrieved from /events dependent on the access token used to retrieve it?

This may seem like a bit of an unusual question at first but I'll try to explain where it's coming from. My PHP wrapper (Stack.PHP) offers a caching class that follows the guidelines in the API docs ...
3
votes
1answer
96 views

Does stackexchange provide https access to its API?

Requests I make appear to be redirected back to plain http URLs and the certs seem questionable: % curl -O 'https://api.stackoverflow.com/1.0/questions/?key=oxXcnoD51kKE ...
3
votes
0answers
30 views

Example responses

I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
2
votes
1answer
80 views

How to limit the number of responses in Stack.PHP?

How do I limit the number of results provided by Stack.PHP (a library wrapper over the Stackexchange API)? For example, how do I get the first 50 questions tagged with a keyword? The query I ...
0
votes
0answers
28 views

How to resolve a client_id rejected error

So I am digging into the API and trying to learn it by creating my own application. I have registered for a key and currently hosting the application locally (http://localhost). On login, I receive an ...
2
votes
2answers
259 views

Is there a limit of API requests?

Our development community wants to use Stackoverflow: http://www.openntf.org/blogs/openntf.nsf/d6plinks/NHEF-8R4ABK We used the Stackoverflow REST APIs to display the most recent requests on ...
3
votes
1answer
45 views

How are filters created?

Can someone explain how Filters are created in the Stackexchange v2 API? The documentation mentions the following for /filters/create: It is not expected that many applications will call this ...
4
votes
1answer
33 views

In API 2.0, what happened to questions sorted by “featured?”

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution: Shouldn't there be a separate call for ...
2
votes
1answer
130 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
64 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
63 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, ...
1
vote
1answer
79 views

Key doesn't match a known application

I'm running into a really weird issue and I would appreciate any guidance on what I'm doing wrong. So I recently applied for an API key here on Stack Exchange and it went through fine. So let's say ...
3
votes
1answer
21 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
46 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 ...
0
votes
1answer
22 views

Why does badges/ids/recipients return badges not users?

I can't understand why badges/{ids}/recipients returns badges and not users? You must pass the badge ID in, so it should be given that you already know what the badge is. If it returns 30 objects you ...
0
votes
0answers
26 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
2answers
61 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 ...
2
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
18 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
31 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 ...
2
votes
1answer
37 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 ...
5
votes
1answer
37 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?
3
votes
1answer
652 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 ...
2
votes
1answer
94 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
180 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 ...
1
vote
1answer
35 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?
3
votes
1answer
86 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 ...
1
vote
1answer
32 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
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 ...
3
votes
0answers
34 views

Example of inbox items?

Would it be possible to get an example of each type returned by the inbox, Eg careers messages, and whatever meta questions are. Do careers invites/chat messages/etc have ids? And what is their site? ...
0
votes
1answer
39 views

2.0 tags API returns only created tags

Searching for tags, using the inname parameter AND a date range returns only the tags that were created in that period, not the tags that were used in that period. When searching by inname only, or ...
6
votes
0answers
54 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
32 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
71 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
72 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
130 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?
0
votes
1answer
25 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
113 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: ...