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.
179
questions
4
votes
1
answer
51
views
Limiting the number of items returned by a request?
How can I limit the amount of items returned to me when performing an API call?
I only want the top 10 most commonly used tags, by default I'm sent back 30. EG:
api.stackexchange.com/2.2/tags?order=...
4
votes
1
answer
334
views
Getting an API key for an application without a server
When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server.
How can I fill out the form required ...
4
votes
2
answers
2k
views
What is the throttle interval or threshold?
Resolution:
I have confirmed that a constant interval of 170 ms will run without error.
// 30 per 5 sec = 6 per sec = interval 166.6 ms
Soapi.RequestQueue.setInterval(170);
Soapi....
4
votes
1
answer
200
views
Why have recent dev-tip posts been forced into community wiki without explanation despite ongoing community self-regulation?
Preface
Please note that this question is neither about community wiki nor reputation, rather about acceptable moderation, (to stress that I've made it community wiki in itself). Therefore I need to ...
4
votes
2
answers
231
views
Is it possible to access data in real-time using the Stack Exchange API?
I want to show an animation of:
Questions being asked and answered in the most popular tag
Comments being posted
New users joining
All in real time.
Is there access to real-time data?
4
votes
1
answer
530
views
`redirect_uri` is not under the registered domain for this application
I am trying to implement Stack Exchange authorization in my RoR application.
But I get the error :
redirect_uri is not under the registered domain for this application
in Gemfile use:
gem '...
4
votes
1
answer
365
views
My filter is not returning any results. How to create a minimal filter?
I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this.
I'll use this call as an example since it successfully ...
3
votes
3
answers
3k
views
Possible Gzip or data format problems when trying to read JSON.
This is a very basic question. I just want to display a test batch of JSON with PHP, but I think I don't have the correct formatting, since the data received looks garbled when outputed, and it causes ...
3
votes
1
answer
194
views
Search for answers/comments under questions with certain tags using the Stack Overflow API?
The advanced search (/search/advanced) API can search for questions by tags.
But /users/{ids}/answers API doesn't take tags.
I'd like to monitor answers/comments for questions with certain tags. Is ...
3
votes
1
answer
210
views
Do I need Stack Overflow's permission to launch my iOS app for Stack Overflow?
I have a Stack Overflow app for iOS that doesn't use the API. It just uses search and web (scraping?) to display questions.
Do I need to get approval the from Stack Overflow team?
2
votes
1
answer
267
views
What write in app access for sending data
Here is my app's code:
However, I get this error:
2
votes
1
answer
50
views
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?
The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
2
votes
1
answer
409
views
Are "api-key" and "app-key" the same thing?
When tagging my last couple of questions about registering for a key, I noticed there are two similar-looking tags:
api-key - 35 uses and a tag wiki
app-key - 10 uses (Update: retagged), no ...
2
votes
1
answer
102
views
Role of "preview" in "/questions/add"
To post questions using Stack Exchange API, I am using /questions/add. What does parameter preview do, i.e., if we set it to true/false, what behaviour would it give?
2
votes
1
answer
147
views
How to filter getAnswersForUser by tag?
I'm using Stackexchange java client lib I wanted to get a little more statistics but the following snippet returns only 30 answers.
Do I need to to register for an API key, or just use ...
2
votes
1
answer
163
views
Question up-voting is not working from my code?
I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route.
But in the log, it's just showing something like:
org.apache.http....
1
vote
1
answer
47
views
`types=main_site` in `/me/associated` gives `meta_site` accounts also
When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
1
vote
1
answer
138
views
Is it okay to just send the API key (without implementing oauth-2 login)?
I'm writing a small Android app that issues customizable queries and displays the results in a read-only format. I might implement oauth-2 in a future version, but want to leave it out of version 1.0 (...
1
vote
1
answer
129
views
Getting questions that have a specific tag or tags?
In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags?
EG:
All Stack Overflow questions asked in the past 2 months tagged 'ruby'?
All Stack Overflow questions ...
1
vote
1
answer
307
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 ...
16
votes
1
answer
1k
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:
...
15
votes
4
answers
722
views
Version 1.0 released 9th of July
For a lot of us, that would be next Friday.
At some point - most likely after noon PST - version 0.9 of the API will be replaced with the final 1.0 release.
There are no expected interface changes ...
13
votes
2
answers
554
views
Why is my API quota not resetting after UTC reset?
According to How API Keys Work, the default daily API limit -- which is per site, per day -- is 300.
I started with 300, as expected, but over a period of days, I've noticed that the remaining quota ...
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://...
9
votes
3
answers
232
views
Roadmap - any update?
So now it's 2011 and we should be getting some API updates. As a company you must have some kind of plan. So can you either say the API is never going to be updated or give a time frame to at least a ...
9
votes
1
answer
4k
views
List all tags in use on stackoverflow
I am trying to list all tags used on stackoverflow here: http://api.stackoverflow.com/1.1/usage/methods/tags and I cannot seem to list all.
How do I do it?.
8
votes
2
answers
757
views
What is the right way to create a Stack Exchange API filter?
I'm trying to create a filter by following the documentation, but a few things are quite unclear:
How do I create a filter that does not have a base filter?
I'm creating a filter without a base so I ...
7
votes
0
answers
118
views
API Parameters: Consolidated Observations
This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data.
Perhaps items can be removed when accepted and resolved as ...
7
votes
2
answers
1k
views
Am I accessing the API correctly?
When running the code
$.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) {
// Do some stuff here....
});
I get the error
Failed to load resource
Am I accessing this ...
6
votes
2
answers
112
views
Script to dynamically expand the Q/A text field
I'm searching for a script to (vertically) expand the text field in questions and answers as I type.
I personally prefer seeing all content at once (while the area can be extended by manually dragging,...
6
votes
2
answers
664
views
Is there a Stack Exchange notification app for Windows 7?
Is there a Stack Exchange notification app for Windows 7?
6
votes
1
answer
145
views
Request for script, or fix, to add Edit-Reason checkboxes
I've found a Stack Exchange userscript which looks GREAT - it would make things so much easier for me:
The Edit summary options script
Unfortunately, it doesn't work at all! I'm not sure why.
My ...
6
votes
1
answer
132
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 ...
6
votes
1
answer
84
views
As a user, where in the web UI could I find all the tokens I have granted for Stack Apps?
I want to manage or revoke access tokens I have granted to 3rd party Stack Apps, but I have a hard time to find them in the UI.
6
votes
0
answers
176
views
How to get the count of a query efficiently
To get the count of a query without returning results, simply specify pagesize=0.
http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0
{
"total": 1161,
"page": 1,
"...
6
votes
0
answers
128
views
How do I grab the CSV from a Data Explorer URL?
I'm building an app that works by users punching in big lists of questions. And I want them to be able to use the Data Explorer to create these lists.
My preferred way of getting the data would be a ...
5
votes
1
answer
97
views
What is the rational behind the chosen /sites styling info?
I was wondering why the chosen styling data is provided though the API. It makes sense to provide it, but I feel like we are only getting part of the information.
"styling": {
"link_color": {
...
5
votes
1
answer
103
views
How to include answers when fetching questions?
I made a small cron job which crawls questions and answers from Stack Overflow.
Here is my request URL:
https://api.stackexchange.com/2.2/questions?order=desc&tagged=php&site=stackoverflow&...
5
votes
1
answer
358
views
How to use Stack Exchange WebSockets?
I am developing a Visual Studio Extension where I would be knowing about the activity on my posts. I found out that wss://qa.sockets.stackexchange.com is used for this purpose. Can somebody help me in ...
5
votes
1
answer
99
views
Is it possible to have no sorting - to just show results in order of inputted IDs?
I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with.
So, if I send IDs in an arbitary order like 4;1;3;2, I would like to ...
5
votes
1
answer
351
views
How to solve bad_parameter error?
I'm trying to make the Stack Exchange API request using the key provided by Stack Apps. But whenever I try it always throws the below error.
{'error_id': 400, 'error_message': "key doesn't match a ...
5
votes
1
answer
2k
views
What is the syntax for specifying parameters?
How do I specify a parameter in the URL?
http://api.stackoverflow.com/0.8/questions works as expected.
Then I would like to pass parameter body with a value of true (that is available according to ...
5
votes
1
answer
733
views
Is it possible to authenticate a user through Stack Overflow API?
Is it possible to use the Stack Overflow API to authenticate a given user identity such as with Facebook, Twitter, or OpenID?
If it's possible: Can you tell me the method (s) that make this happen?
5
votes
1
answer
2k
views
Desktop login URL: WebBrowser hangs (.NET) - JavaScript endless-loop
I am using .NET 4 and trying to use the desktop authentication via the web-browser control (WPF and/or WinForms; StackApp NNTP bridge for accessing StackExchange forums (like StackOverflow)).
It seems ...
5
votes
1
answer
56
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
301
views
Can I get information about a user with their network ID?
My network profile's ID is 4337810.
Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...?
There doesn't seem ...
4
votes
2
answers
312
views
rate-limit per endpoint per IP VS. server apps in hosted environments
I was wondering if the scenario of a server based app that lives in a hosted environment, where a single IP can be shared by many web sites.
As I understand the rate-limit as it stands, every site on ...
4
votes
1
answer
1k
views
Get questions with body and answers
How can I get the latest 30 questions with body and answers using the api?
And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request?
To get ...
4
votes
0
answers
185
views
Alternative to official app?
I started using the Stack exchange app, but realized it was abandoned and just plain sucks. Now that I abandoned it though, I really miss push notifications and having all 8 sites I'm active in one ...
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 ...