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

3
votes
0answers
37 views

All updates (answers, comments etc) using stack exchange API

Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question? checking for answer changes is easy cause its a top ...
5
votes
1answer
51 views

Can you access a user's tag reputation/score via the API?

Is it possible to retrieve a user's tag specific reputation/score via the API? If not, is it possible to make an API call that returns enough information that you can calculate the value?
1
vote
0answers
73 views

String formatting in returned JSON objects

So I sat down this evening to play with the Stack Exchange API. I downloaded RestSharp, and used it to call the API. One thing the struck me was how strings are formatted, with regards to non-ASCII ...
0
votes
2answers
100 views

Is there a Stack Exchange API allows research on the body?

I want to use the Stack Exchange API to perform research on the question/answer's body but it seems impossible. Is that the case? If not, how do I go about doing it?
1
vote
1answer
77 views

Use stack2rss to receive responses via RSS

I'm trying to setup http://stack2rss.stackexchange.com/ to receive full-body "responses" (comments, edits, answers and so on) to my own stackoverflow questions via RSS, but I can't find the right ...
0
votes
0answers
20 views

Correct user behaviour when /me returns no items

So if a user has a StackExchange account but not an account for the specific Site, /me will return an empty items list. Ideally in this case, my application would send them off to 'the' URL where ...
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
624 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
49 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
101 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
132 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
55 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
397 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 ...
10
votes
1answer
470 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
25 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
208 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
170 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
411 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
851 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
108 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
77 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
27 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
218 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
41 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
123 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
71 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
60 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 ...