Recently Active Questions
2,813 questions
12
votes
1
answer
415
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 ...
1
vote
1
answer
82
views
Stack Exchange API - What does "site_state" mean?
The /sites route can return site_state.
What does site state stand for and which values can it have?
The values I found:
normal
linked_meta
open_beta
3
votes
2
answers
796
views
Can't Decompress Stack Overflow API in Swift
I am using the Stack Overflow API in Swift but keep getting an error:
The data couldn’t be read because it isn’t in the correct format.
whenever I try to use the JSON as shown in code below
func ...
4
votes
1
answer
114
views
Getting the ID of the question-asker when fetching new answers from the API
I am fetching a list of all new answers posted on Stack Overflow using the /answers API call. This returns the owner of the answer, but I would like to know if the answerer is the same person as the ...
1
vote
1
answer
312
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
1
answer
418
views
How to pass `key` as header value instead of as query params?
I would like to use my API Key in the header as opposed to as a query parameter.
In Stack Overflow Enterprise, I pass the value as X-API-Key in the headers. This does not work for the public Stack ...
4
votes
0
answers
319
views
StackSurfer iOS App
StackSurfer Screenshots:
About
“StackSurfer – Search Faster, Work Smarter”
StackSurfer provides a smarter way to search for questions and answers in Stack Overflow. You can search for questions ...
95
votes
5
answers
7k
views
The Stack Overflow Unofficial Patch (SOUP)
The Stack Overflow Unofficial Patch (SOUP) is a project to collect various minor client-side bug fixes, work-arounds and usability improvements for Stack Overflow and other Q&A sites on the Stack ...
253
votes
5
answers
21k
views
Column 80 - Plain Text optimised Stack Exchange
Screenshot / Code Snippet
About
Browsing the existing Stack Exchange family of websites was OK in a text-based browser, but when you're stuck in a Linux shell with no way out and no other computers ...
6
votes
0
answers
279
views
StackOverflow CodeBox Options
This Tampermonkey script adds options to StackOverflow to
expand answer box
expand code box
resize code font size
widen the entire page
remove sidebar
Source: https://github.com/yodog/userscripts/...
32
votes
1
answer
2k
views
Click to expand code regions
About
This is a Greasemonkey script that allows you to click code regions on Stack Overflow (or other Stack Exchange sites) and have it expand to whatever size it needs. Get rid of those pesky scroll ...
6
votes
2
answers
144
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,...
2
votes
1
answer
122
views
"Javascript" typo on documentation pages
On page Usage of /sites, it should be JavaScript, not Javascript, in the right sidebar:
This obviously also applies to (most/all) API documentation pages, since they share the sidebar.
5
votes
1
answer
220
views
Few typos in the documentation pages
https://api.stackexchange.com/docs/vectors
When passing a vector, sepeate each id with a semicolon. For example, /users/1;2;3;4;5?site=somesite would fetch users with ids 1 through 5 on somesite.
...
9
votes
1
answer
165
views
Typos in API documentation
From the /posts documentation:
Most applications should use the question or answer specific methods, but /posts is available for those rare cases where any activity is of intereset.
intereset => ...
3
votes
1
answer
211
views
Difference between `/inbox/unread` & `/me/inbox/unread`
I ran /inbox/unread & /me/inbox/unread.
What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
5
votes
1
answer
154
views
API docs titled "v2.0"; should be "v2.1"
The documentation is titled "StackExchange API v2.0"... this should be updated to "v2.1" as it's not readily obvious that version 2.1 has been published otherwise.
https://api.stackexchange.com/docs
2
votes
1
answer
73
views
What does "in practice" mean here?
From /answers/{id}/delete:
In practice, this method will never return an object.
For me, "in practice" means that the method will maybe return an object. But why? That's not good from an application ...
2
votes
0
answers
67
views
Spelling mistake in API Documentation's "Authentication" page
Can you find the spelling mistake in "Unregistered Users" (last section) of the Authentication page?
In case you're not in the mood for games, here is it:
2
votes
1
answer
106
views
Can I get the question id in the inbox route?
My intended behavior of my app is to navigate the user the the question page when an inbox item gets clicked.
For example, when the API return a link like this
https://stackapps.com/questions/8515/...
1
vote
0
answers
163
views
Trying to get Stack Overflow Access token Using "RestAssured"
I have been trying to create an access token for a Stack Exchange app (already created). I am not even sure if I am using the correct URL https://stackoverflow.com/oauth/access_token.
RestAssured....
2
votes
0
answers
185
views
DiffTech: Compare similar technologies based on StackOverflow data
Screenshots
Homepage
Compare page
About
This website compares a large set of similar technologies. We use the data dump from Stack Overflow, extract sentences that compare two technologies, and ...
13
votes
0
answers
433
views
Rodgort - A tool for managing burninations on Stack Overflow
This project is no longer maintained.
One instance is hosted by Das_Geek which controls this user, but minimal support is available.
Rodgort
What is this?
A project created by the team in SOBotics (...
1
vote
1
answer
321
views
How to analyze and debug Stack Exchange's Javascript?
When writing userscripts, I often want to be able to look at what Stack Exchange's Javascript is doing. Getting to the code that the browser runs is easy enough - in the Network tab, I can see network ...
12
votes
2
answers
1k
views
Sanction - An OAuth 2.0 implementation
Code Snippet
from sanction.client import Client
from sanction.adapters.google import Google
client = Client(Google, {
"google.client_id": "myclientid",
"google.client_secret": "...
5
votes
1
answer
291
views
Bulk flag comments
About
I often go through my previous questions on SO/SE and find a lot of them have long resolved discussions. Ideally, I should raise a post flag and say "all comments below are obsolete; please ...
2
votes
0
answers
166
views
Quick Quran verse links
Screenshot
About
At Islam Stack Exchange we often refer to Quran verses in answers. This script makes it easier to add those references by adding an input field directly before the question/answer ...
2
votes
0
answers
175
views
PLACEHOLDER - Quip Message Integration [closed]
A message integration app for quip.com
2
votes
0
answers
16
views
Is the way to search answers by who I voted for? [duplicate]
I found few similar questions: first, second. But answers is too old (2014 year). It's actual now — no way to get this info by using API?
2
votes
0
answers
62
views
Wrong error message when attempting to edit a locked answer
When attempting to edit a locked answer like this one via the /answers/{id}/edit API method, I get an error message:
Account is not allowed to suggest edits
I have the privilege to edit the post, so ...
2
votes
0
answers
90
views
PLACEHOLDER for viTech App [closed]
This is a small application written in angular that queries Stack Overflow posts based on a given tags.
This app is currently under development and therefore in a private GitHub repository.
2
votes
1
answer
92
views
After which time span can my vote no longer change?
I came across a toast that appears when I try to change my vote that I made a few days ago.
Is it documented somewhere after which time span you can no longer change your vote? Or does the API ...
4
votes
0
answers
1k
views
Expand all comments script
The following script for Tampermonkey (multi browser) or Greasemonkey (Firefox) automatically expands all comments which are normally hidden behind the "show ... more comments" link:
The code is ...
2
votes
0
answers
252
views
StackExchange – Expand Hidden Comments
In principle that what Expand all comments script does, but with two major differences:
Scrolls the page back to the initial target of the corresponding link you selected (i.e. to question, question ...
2
votes
1
answer
371
views
How to get (unread) achievements?
Is there an API call where you can get all achievements and all unread achievements?
Like this:
Update
Thanks to the answer of Glorfindel, I use the following methods to calculate the unread ...
2
votes
0
answers
182
views
ThanksForTheAnswer - A nice platform for users to say "thank you" to the community
Screenshot / Code Snippet
ThanksForTheAnswer - TFTA - was created after seeing a colleague's excitement over using StackOverflow for the first time. He felt thankful and really wanted to at least say ...
3
votes
1
answer
69
views
Percentage of Questions Upvoted Lower than the Highest Upvoted Answer
On another site the issue has come up that questions may not be upvoted but answers are. I would like to get some statistical support for this. Are there already existing apps that can do this kind ...
2
votes
1
answer
59
views
How to get "usage guidance" for a tag from the Stack Exchange API?
Stack Exchange site tags have "usage guidance", both a 1-paragraph "excerpt" and a longer tag description, as e.g. for JavaScript here. Is it possible to get this data through the API? The options ...
17
votes
0
answers
1k
views
Stack Overflow View - Visual Studio code extension
About:
This is a Visual Studio Code extension that allows developers to search Stack Overflow inside of the text editor, to quickly access answers and view questions.
Screenshot / Code Snippet:
...
1
vote
0
answers
98
views
How to determine if a question is hot?
I know that I can get all hot question by sorting it like this:
/2.2/questions?order=desc&sort=hot&site=stackoverflow
Likewise, I'm not quite sure if other sortings like activity also ...
4
votes
0
answers
112
views
Dismiss Announcement Banner
Screenshot / Code Snippet
About
Now and then, Stack Exchange wants our attention for new blog posts or other important announcements. One of the ways is a banner just below the top bar, which is fine ...
2
votes
0
answers
54
views
Stack Exchange search API not returning results with min, max vote count
Query to search for all question with perl6 tag created between Oct 1 - Oct 5 2019. I'm sorting the results by votes.
/2.2/search?fromdate=1569888000&todate=1570233600&order=desc&sort=...
3
votes
0
answers
86
views
API 404's when I try to fetch related tags for the `bin` tag
If you query the API for tags related to [bin]: https://api.stackexchange.com/2.2/tags/bin/related?site=stackoverflow
this simply returns:
Invalid JSON returned and a 404.
(live demo)
But it should ...
2
votes
0
answers
182
views
Stackoverflow Monitor - A Blue Prism Utility
About
An RPA utility for the Blue Prism Connected RPA solution, configured to search Stackoverflow content for product-specific questions and for posting relevant answers from the Blue Prism ...
3
votes
1
answer
102
views
Moving the New Feed Items box to the bottom right
I've created a simple script to move the New Feed Items box to the lower right to avoid it from hiding the chat history:
Installation:
Just copy the following code in Tampermonkey/GreaseMonkey:
// ==...
3
votes
1
answer
123
views
503 errors on batch get questions endpoint
I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
2
votes
1
answer
111
views
Please provide an API "flair"-data call (`/associated` route is inadequate)
So today I decided to continue refining my JavaScript skills (different post over on Code Review SE if you'd like to review the results) and utilized the Stack Exchange API (v2.2) to write a "user ...
1
vote
1
answer
210
views
How do I find all questions/answers per a tag using .Net?
I want to get the list of questions based on tag name using .Net. can any one please let me know how to achieve this using .Net with API Version 2.2?
1
vote
1
answer
261
views
Using API with sites like JSFiddle and CodePen?
I am currently working on a prototype for the flair provided by Stack Exchange and can't seem to get the API to work with CodePen. It continuously returns the following error on the SE.init call:
...
4
votes
0
answers
317
views
ChatX: A ruby library for SE Chat
Screenshot / Code Snippet
Here's some sample usage:
cb = ChatBot.new(ENV['ChatXUsername'], ENV['ChatXPassword'])
cb.login
cb.gen_hooks do
room 63296 do # Room ID of The Closet, a testing room for ...