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

6
votes
1answer
83 views

Can we have the display_name field in the /me/associated route?

I'm reading the Authentication documentation and I've noticed that the /me/associated route returns fields like user_id, badges, reputation but not the display_name, even specifying a custom Filter. ...
6
votes
2answers
594 views

Why can I access the API from a browser but not wget?

If I try to access the following from firefox everything works even if I'm not logged in http://api.stackexchange.com/2.0/users/19068?order=desc&sort=reputation&site=stackoverflow However ...
1
vote
1answer
48 views

/me API endpoint returning 500 error

I'm making an authenticated call to /me: https://api.stackexchange.com/2.0/me?access_token=[redacted]&site=stackoverflow&key=[redacted] But it's returning: ...
1
vote
1answer
99 views

“client_id not provided” when trying to obtain an access_token

So I'm trying to authenticate with the v2 API via oauth2. I have a code, so I'm POSTing to https://stackexchange.com/oauth/access_token and ideally get an access_token back. Instead I get an ...
2
votes
1answer
131 views

API returning character entities in JSON

I noticed display names in the JSON contain HTML character entities; e.g. /2.0/users/718618?order=desc&sort=reputation&site=stackoverflow Gives me: { "items": [ { "user_id": ...
1
vote
1answer
54 views

Reputation API to display a reputation history

I'm building something similar to the reputation graph / summary on the SO user page. The answer explains that the /users/{ids}/reputation API method gives a sum of reputation for the period. So ...
0
votes
0answers
41 views

Is Stackusers.com gone or just down?

Stackusers.com has been down for a few days. Is it down for good? (Hope this is an appropriate question... seems OK per FAQ).
0
votes
0answers
381 views

Receiving “redirect_uri does not match the uri used to create the passed code”, when it does match

Summary Using Oauth2, when I go to pick up the access_token, I get the following error from the server: access_denied: redirect_uri does not match the uri used to create the passed code. From what I ...
9
votes
1answer
444 views

Registering app for API 2.0 key without Oauth domain

I'm trying to register an app, but it states that I need to add an OAuth domain. But I have Enable Client Side OAuth Flow disabled, because I don't need it right now. I basically have two questions: ...
2
votes
1answer
64 views

What happened to the recent API contest?

I am curious to know the results of recent stackoverflow contest It has been removed from the api.stackoverflow page and no updates were seen. I believe that the deadline for the results ...
0
votes
1answer
24 views

Is there any API to support creating a new question on stackoverflow? [duplicate]

Possible Duplicate: Post questions using API I know there is api for stackoverflow. It looks like the APIs are read-only, supporting the Get/Search operation. Is there any API to support ...
0
votes
1answer
199 views

400 Error when attempting to retrieve authenticated user data

I am attempting to use the /me API to retrieve an authenticated user's details but I am recieving a 400 error. I am able to complete the OAuth2 dance and have been able to capture the access token ...
3
votes
1answer
162 views

Making use of the *“has_more”: true* json attribute in the Json response from stackoverflow

When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom): ...
0
votes
1answer
401 views

Handling working of PHP API key on webpage

I'm building a phpapi and in this api will be giving my clients API key generated for each client. So basically my client will be sending client id, his personal data(to be stored in DB) & an ...
0
votes
1answer
57 views

Security certificate error when logging in with myOpenID

I have written an application that embeds the WebKit rendering engine (the same rendering engine used in Safari and Chrome). This application makes use of the /inbox route and therefore requires the ...
7
votes
1answer
91 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
28 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
814 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
63 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
37 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
102 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
76 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
26 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
206 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
40 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
32 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
121 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
61 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
70 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
25 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
59 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
24 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
30 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?
1
vote
1answer
574 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
88 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
135 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
28 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?