Frequent Questions
760 questions
4
votes
0
answers
301
views
PLACEHOLDER - Broken Link Repairer
In the coming weeks, I'll be modifying the Broken Image Repairer so that it can be used to mass-edit broken links. Examples where it could be used:
German Language: canoo.net has been moved to ...
4
votes
0
answers
155
views
Autonavigate/autocomment "close/flag offtopic" for MSO
On MSO, there are plenty of questions that should be on SO asked every day.
The procedure with dealing with these is:
Copy-paste boilerplate comment saying "This belongs on SO blah". ...
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
8
answers
4k
views
How to format reputation numbers similar to Stack Exchange sites
UPDATE
For JavaScript, see CMS's implementation below. It is much more elegant than the one I provide in the body of this Q.
// formats a number similar to the way stack exchange sites
// ...
4
votes
1
answer
263
views
Stack Override: Rank answers by usefulness
Stack Override
This extension is a part of my final year project for a computer science degree. It displays notifications when the browser loads a Stack Overflow question page. Once clicked, the ...
4
votes
1
answer
354
views
Login using Google fails saying OpenID 2.0 accounts for Google has gone away
Recently I have received complaints about my app suggesting that logging in with a Google account shows a warning message that OpenID authentication has gone away. When I tried to log in with my own ...
4
votes
1
answer
3k
views
API endpoints do not set Access-Control-Allow-Origin, so CORS requests fail
This looks like it might have been requested before:
Support Cross-Origin Resource Sharing
In order for CORS to work, the Access-Control-Allow-Origin header (and related headers) must be set. With ...
4
votes
1
answer
78
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
716
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
449
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 ...
4
votes
1
answer
157
views
Global Inbox uses the API?
Just wondering if the GI uses the APIto work, it could but it would require a lot of requests (though it won't take up [internet] bandwidth because it's done inside the server cluster (that is ...
4
votes
0
answers
145
views
Parameter `tagged` in `search/advanced` seems to use `AND` instead of `OR`
It seems that search/advanced has the same problem as in "The tagged parameter does not work with multiple tags" question.
When I select c#; .net I only get results tagged both c# and .net:
http://...
4
votes
0
answers
192
views
Can we specify more than one OAuth Domain?
I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code.
Chrome provides an identity API for OAuth2, and so does ...
4
votes
2
answers
297
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
12k
views
/users/{id}/reputation != xxx.com/reputation
I realize that the shape of the data coming from the API may be different than that reported by the xxx/reputation url, but there seem to be some striking disparities.
see 08/12 and 08/11 in both ...
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
0
answers
326
views
Stackviewer iOS Application
Stackviewer is a beautiful and easy-to-use custom Stack Overflow client where software developers of any kind can find answers to their everyday challenges. Browse through millions of questions with a ...
3
votes
1
answer
246
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?
3
votes
1
answer
80
views
"backoff" missing when updating questions
I updated a couple of questions with the questions/{id}/edit method and got the following error:
{
"error_id": 407,
"error_message": "You cannot perform this action for another 14 seconds",
...
3
votes
1
answer
214
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
180
views
Problem getting a users questions within a date range
I'm having a problem returning a list of users questions within a given timespan. I understand that the documentation ( http://api.stackoverflow.com/0.8/help/method?method=users/{id}/questions ) that ...
3
votes
4
answers
242
views
How to order /sites result in a user friendly way to use it in our apps.
Since ordering of /sites is not guaranteed, how do i effectively order sites in a user-friendly way?
General requirements:
Trilogy must stay on the top of the list
[stackoverflow.com,meta....
3
votes
2
answers
364
views
What am I allowed/not permitted to do with the API?
I have a site that will offer technical help and assistance for a certain niche of computer users. I can either host my own forums, or tie in with stack... but I want to be able to make money off it ...
3
votes
2
answers
214
views
Timeline for v2.0 of the API?
Since v1.0 is now finalized, I thought I'd inquire about v2.0.
I'm guessing it will be a few weeks before you even start planning it.
Can you give us a long term estimate of when the private beta ...
3
votes
0
answers
134
views
Anonymize short links [duplicate]
“Share” links under questions and answers include one's UserId, which may not be desirable for those who want to keep separate online identities at SE and elsewhere. (Pointed out at Meta Stack ...
3
votes
4
answers
350
views
Is it really worth to (implicitly) discourage documentation of API/library usage nowadays already?
Update:
Kevin provided an answer, which, while adding something of value to the three related questions together (by naming the originating concern eventually), actually does not apply to the ...
3
votes
1
answer
941
views
Need some help verifying 503 throttle issue
Update:
We've confirmed the issue... fixing it
is taking more time than anticipated.
– Kevin Montrose
Color me happy.
The throttle is now applied to api.stackoverflow.com so we have an undefined ...
3
votes
1
answer
311
views
PLACEHOLDER - Export to Google Docs™
Export posts to Google Drive™
Initially, the idea was to use Google Apps Script to export a Stack Exchange post to Google Docs. Currently, the app can export to plain text, HTML and Google Document ...
3
votes
0
answers
1k
views
Stack Overflow offline PDF question reader
About
Using a keyword, the Stackoverflow Offline Reader WinForm app loads all the questions
and their answers into a single pdf file and displays the pdf (if you have a reader installed). Questions ...
2
votes
1
answer
85
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
0
answers
168
views
Jardín Digital de Rubén
Screenshot / Code Snippet
About
Jardín Digital de Rubén is a digital garden having Spanish as the primary language. Some notes might be written in English.
One of the uses will be to publish drafts ...
2
votes
2
answers
255
views
Is there a way to determine total number of upvotes and downvotes (etc) for a user (regardless of reputation cap)?
For example, if you use the /users/<id>/reputation call, you get a list of reputation changes for the user, but it takes the daily reputation cap into account. What I would like is an API call ...
2
votes
1
answer
200
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.message....
2
votes
2
answers
677
views
Voting activity tracker v2: check your voting activity on per-site meta!
About:
In 2015 I built a tool to check your voting activity on meta. It was live probably for a year before my free domain was terminated.
A lot of time passed since then, and a few days ago I decided ...
2
votes
1
answer
574
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 tag ...
2
votes
1
answer
111
views
Any news of more write APIs?
It's been a while since I was last here. Is there any news on further updates to the API? (I'm specifically thinking about adding more write methods.)
2
votes
1
answer
176
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
127
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?
1
vote
1
answer
271
views
Can we add a creation_date to the /sites method?
I think we really need a way to determine when one of the new sites went live so that they can be ordered by date.
Something like:
{
"name": "Gaming Meta",
"logo_url": "http://sstatic.net/...
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 ...
1
vote
1
answer
141
views
Software for Javascript?
Do I need any special kind of software to view the responses I get after requesting something? Like with Klout for example, I can get all the code returned as I need it, I just don't know where to put ...
1
vote
0
answers
57
views
Fix keyboard shortcuts for navigating lists
Description
Inspired from Support paging keyboard shortcuts in NAtOQ 10k-tools and Support paging keyboard shortcuts in Staging Ground. Currently several places that show a paged list of items do not ...
1
vote
1
answer
159
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
64
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
413
views
How to register a Stack App with explicit OAuth 2.0 flow to a third party site?
I am about to integrate a Stack Overflow app to a third party website / integration service (Zoho).
The third party website's documentation mentioned that the redirect URL is https://deluge.zoho.com/...
1
vote
1
answer
154
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 (...
0
votes
1
answer
170
views
API responses are sometimes missing fields
conclusion
never mind. the fields are marked as optional in the spec. it was late. sue me.
the q is left for reference
What is coming out:
{
"tags": [
"cakephp",
&...
0
votes
1
answer
194
views
min/max parameters are incorrectly documented as date - confusion and crippled libraries ensue
I have noticed this on all sorted routes.
The min/max say that they are context sensitive to the sort type yet are documented as date.
How is a date min/max valid when sorting by, for instance votes?...
191
votes
20
answers
14k
views
OBSOLETE - Flack Overstow - Generate spam from Stack Exchange posts
Online demo courtesy of Nathan Osman:
http://quickmediasolutions.com/flack
Note: this tool now works with all Stack Exchange sites. Just paste the URL of your profile and the app will take care of the ...
108
votes
11
answers
3k
views
StackExchange™ SuperCollider Freehand Circle™ Editor - [Now supported on EVERY StackExchange site!]
Update Jul 2015:
The author is not able to update anymore. Use Freehand Circles Drawing Tool instead.
Important:
All SE sites (with one exception - see below) are now supported. Please ...