All Questions
Tagged with stack-exchange or support
179 questions
90
votes
2
answers
33k
views
How to list your application/library/wrapper/script here
If you've created an application, script, or library for use on the Stack Exchange network, that's fantastic!
Now publicize it by creating a question with the correct tag:
app https://stackapps.com/...
140
votes
3
answers
30k
views
API "Hello World" code
The Stack Exchange API is based on HTTP and URLs, just like the web page you're browsing now. Except instead of HTML, the responses are all in JSON.
Let's say we wanted to call the /info method:
https:...
6
votes
1
answer
676
views
How to strip out certain fields from the Stack Exchange API, JSON response?
I want to fetch all my favorite questions on Stackoverflow.com and dump them as JSON. I used this API path:
/2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow
But it is ...
27
votes
1
answer
2k
views
My app has to be published first? But it's still under development
Okay, I want to build an App that allows me to create questions on Stack Exchange. I registered it here on Stack Apps but now when I want to create a question I get this message:
{
"error_message": ...
32
votes
1
answer
11k
views
Looking for a beginner's tutorial to using the API
I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation.
I want some fundamental ...
15
votes
1
answer
839
views
I only need a key, what do I do?
I'm told by others and read in Looking for a beginner's tutorial to using the API that I need "To Get A Key!" but when I then visit https://stackapps.com/apps/oauth/register I'm stil ...
21
votes
5
answers
1k
views
Conscientious use of the API
What constitutes abuse?
Making an undue number of requests in a short span of time, or regularly exceeding a request quota during "normal" use.
Guidelines for polling
We realize that a great ...
6
votes
1
answer
295
views
Complete list of sites to @include / @match into my script?
This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.
15
votes
1
answer
2k
views
Unable to get access token
I am trying to get a non-expiry access token, like so:
https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}}
I am repeatedly getting the error:
...
12
votes
2
answers
6k
views
Can the redirect_uri contain port number?
Is it possible to have the redirect_uri contain a specific port?
For example: example.com:8080
Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
6
votes
1
answer
664
views
URL Length Limit For For Requests Taking Vectorised Ids (/answers/{id}, /questions/{id}, etc)
I am trying to use /questions/{id} API to get a list of questions by their ids. Help page for this request does not indicate the maximum number of ids that can be passed in. Pagesize is maximum 100, ...
17
votes
1
answer
255
views
List of Votes by Authenticated users
In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question.
...
4
votes
1
answer
640
views
How to create API filters?
I used the following request link to extract data from the Stack Exchange API. But I have no idea how to create "filter" as used in the request line.
Please help me understand the creation of such ...
4
votes
1
answer
288
views
Can not request info after OAuth
I am following The implicit OAuth 2.0 flow Guide:
My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA((
I appended my URL as:
https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
30
votes
1
answer
1k
views
Announcing API version 1.1 and Roadmap
As has been announced on the blog, we're rolling out a minor revision of our existing read-only API.
While the blog post gives some high level details, I figured [app] developers would appreciate some ...
23
votes
5
answers
2k
views
Google App Engine [app]s - We are all on the same quota!
Noticing a couple of "This IP has exceeded the request-per-day limit" errors on StackPrinter log, I asked for a verification and the prompt answer was:
There are a number of [app]s using
Google ...
9
votes
1
answer
855
views
Getting "application not configured for implicit grants" error trying to setup website
I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new ...
9
votes
1
answer
171
views
Is there any support for Area 51 in the new API?
Does the new API support Area 51? Will there be support in the future?
8
votes
1
answer
2k
views
How to make a Stack Exchange API call, using my key
I have a Meteor application and I'm making API calls like:
var urlString = "http://api.stackexchange.com/2.2/users/"+surl;
HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}},
function (...
8
votes
1
answer
1k
views
How can I quickly get an access token for personal use?
Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do?
However, what if I do want an ...
7
votes
3
answers
2k
views
How do I find a user based upon email hash?
I'm looking for specific guidance on how to locate a user on SO by email address. I'll use this information to work with the API and determine how many points they have on the site.
5
votes
1
answer
466
views
How to increase app request quota from 300 to 10,000?
In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((:
Pass this as key when making requests against the Stack Exchange ...
3
votes
1
answer
2k
views
How to get Question/Answer body in the API response using filters?
I am specifically looking to get the question/answer body back. Is it possible?
I am looking through the API documentation and I'm confused about how to make a call with filters.
Sample call I'm ...
9
votes
1
answer
1k
views
My registered apps are not showing in my profile; where can I find them?
I registered two apps in Stack Apps, but when I access my account, it shows no registered apps.
How can I mark them as my apps and how can access app settings (client id, key), etc?
9
votes
3
answers
545
views
Stack Exchange userscript template / boilerplate
I find it annoying to have to type the entire list of Stack Exchange sites to include every single time I make a new userscript. Furthermore, jQuery isn't automatically included by default.
Is there ...
7
votes
1
answer
719
views
OAuth procedure for standalone user?
Background:
I will be using the Stack Exchange API to make queries to stack overflow for a list of questions along with their details for a particular month etc for analysis purposes.
So this would be ...
6
votes
1
answer
135
views
Does a closed and/or deleted Stack Apps post still provide access to the API?
Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API.
What happens if the question is closed because of ...
4
votes
1
answer
75
views
Can revisions be returned from the API, filtered by user?
I see that question or answer revisions can be returned from the API either by post ID or by GUID.
I'd like to obtain this data filtered by user, e.g. "all revisions made by user X". However, I ...
4
votes
1
answer
288
views
How do I parse the dates from the API?
I see that JSON returned by the API contains dates in the following format:
"creation_date":1364546475
^^^^^^^^^^
What's the meaning of it? How can I parse it to get the date in the ...
4
votes
1
answer
566
views
Javascript SDK channelUrl for local development [duplicate]
I am trying to get started with the Javascript SDK. I am developing on a web server on my local machine. I get a channelUrl-related error when calling SE.init.
My code:
SE.init({
clientId: ...
3
votes
1
answer
169
views
How to access my App info
I've registered for an app yesterday, but I'm not finding where should I go to see/edit its info again.
I've search through profile, at stackexchange.com but couldn't find it.
3
votes
1
answer
100
views
How to search answers like is:answer
How can I use the API to search for answers containing particular text or with particular properties? For example, this link allows me to search for is:answer foo, that is, answers containing foo. Can ...
2
votes
1
answer
183
views
Implicit Flow Isn't Redirecting
I'm using the WebAuthenticationBroker to allow users to log in to their account:
var accessToken = "";
var uri = "https://stackexchange.com/oauth/dialog?redirect_uri=https://localhost.com&...
2
votes
1
answer
156
views
Stack Exchange API not realtime?
I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more.
Is this API not real-...
20
votes
3
answers
486
views
Is there an API to upload images to SE's imgur installation?
Is there an API for uploading images to the StackExchange-specific imgur installation? I could use the main imgur site, but they don't keep the images indefinitely.
Use case: It would be ...
15
votes
4
answers
289
views
Prevent that posts tagged with app or library enter Community Wiki mode when the owner edits it 8 times
I've edited my App 8 times and my question has switched automatically to Community Wiki (I'm aware that it's reported in the faq).
The main reason of these many edits is my shaky english, but I can ...
12
votes
1
answer
362
views
How the /sites method is meant to be used
The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
11
votes
1
answer
3k
views
Should we add a "this site is not affiliated to Stack Overflow.." disclaimer to our website app?
I've checked legal section but it does not say anything specific of this aspect apart from:
Do feel free to explain that your product is built on the Stack Exchange platform so people understand your ...
10
votes
1
answer
4k
views
What exactly is a valid OAuth domain name for registering your app?
I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name?
Is it the package name of my app?
Or do I have to point it to a server ...
10
votes
1
answer
1k
views
How to delete apps in StackApps?
I have registered an app in Stack Apps. I am trying to delete it, but unable to find the solution. Is there a way to delete it?
8
votes
1
answer
124k
views
sorting ascending vs descending
I don't understand the difference between ascending and descending?
Surely ascending means the most active/recent/popular/A first, and descending means the least active/recent/popular/Z first?
But it ...
6
votes
1
answer
134
views
Get reputation changes across all sites without querying each one individually
I'm looking to make an app that shows your reputation changes throughout the network. /me/reputation-history/full almost accomplishes this, but it's on a per-site basis. I only want one query to get ...
6
votes
2
answers
230
views
Url length limits have been increased
There's been some grumbling in the past about the unreliability of really ludicrously long URLs sent to the API.
We've always considered this suboptimal, but the underlying technical constraints (...
5
votes
0
answers
541
views
Platforms Supported by the API and Response Compression
What platforms are supported for use with the Stack Exchange API?
In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
5
votes
2
answers
2k
views
API compliant request throttle implementations
Balancing compliance with Request Throttling Limits with maximum allowable throughput in our applications and libraries with any reliability requires self-throttling.
This post is meant to be a repo ...
5
votes
2
answers
150
views
Prefered way to retrieve all search results
I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size).
Looking at ...
5
votes
3
answers
386
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 ...
5
votes
1
answer
120
views
What's an example of the backoff field? Is there some way I can simulate it to test appropriate behavior?
In reading about the API rate limiting, the documentation talks about a method responding with an ominous backoff field, and states that the client should cease from calling that method for that many ...
5
votes
2
answers
471
views
Getting started: /users/{id} [duplicate]
I am trying to get the amount of reputation that a user has. I have established that I need to use this url: https://api.stackexchange.com/2.1/users/1272330?order=desc&sort=reputation&site=...
5
votes
2
answers
506
views
The API Key does not work
I have registered an app at https://stackapps.com/apps/register, got a Key right away after I have submitted.
But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...