Questions tagged [support]
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.
858 questions
2
votes
1
answer
135
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
http://api.stackoverflow.com/1.1/users/...
9
votes
1
answer
77
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
1
answer
49
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 ...
1
vote
1
answer
54
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
1
answer
355
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
1
answer
55
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
1
answer
55
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
1
answer
138
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 crj7TadaA&tagged=...
3
votes
0
answers
44
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.
3
votes
1
answer
165
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 ...
11
votes
2
answers
6k
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 http://...
6
votes
1
answer
178
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 method ...
4
votes
1
answer
69
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 ...
3
votes
1
answer
289
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
1
answer
170
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 lets ...
3
votes
1
answer
157
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,
"...
4
votes
1
answer
603
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
1
answer
41
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 ...
1
vote
2
answers
82
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
1
answer
59
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 ...
2
votes
0
answers
38
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
/filter/{filters}/...
3
votes
2
answers
127
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 ...
5
votes
0
answers
91
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
1
answer
70
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
1
answer
72
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
1
answer
84
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
1
answer
99
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 Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
4
votes
1
answer
2k
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
1
answer
225
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
1
answer
545
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
1
answer
124
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
1
answer
170
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: https://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
1
answer
66
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
1
answer
30
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
0
answers
48
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
0
answers
97
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
1
answer
84
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 ...
13
votes
0
answers
250
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
1
answer
92
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
1
answer
244
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
...
3
votes
1
answer
212
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 ...
3
votes
1
answer
438
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
1
answer
2k
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
1
answer
63
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
1
answer
76
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 ...
6
votes
3
answers
448
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: IRC access for the chat?
But I don't believe that it works ...
0
votes
1
answer
65
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
1
answer
53
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
1
answer
143
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/)?
4
votes
2
answers
568
views
Stack Overflow reputation API [duplicate]
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. ...