Questions tagged [answers]
Tools (scripts/apps/libraries) that help with answers, or issues with the API handling of answers
72 questions
1 vote
0 answers
74 views
Copy code-blocks from Stack Exchange websites
About Highlighting and copying code from questions/answers is not as straightforward as one hopes it'd be. Throughout the years, there were (at least) a couple of userscripts/extensions to address ...
1 vote
0 answers
65 views
Answer Hider - adds box and buttons to hide answers on posts
Screenshot / Code Snippet About This script allows a user to hide answers on a post, both from the answer itself or from a central box at the top. This might be helpful when reading responses to ...
1 vote
0 answers
148 views
Sentinel - monitoring new answers to old questions
This post is to enable authentication with the version of Sentinel that I'm (cocomac) hosting. See also OBSOLETE - Sentinel - monitoring new answers to old questions. In early February 2025, there ...
3 votes
0 answers
189 views
SO Stats - Track your stack overflow activity
About I created the SO Stats app because I wanted a simple and convenient way to track my Stack Overflow activity and progress. As a frequent user, I was always curious about how my reputation was ...
3 votes
0 answers
183 views
SO Link-only Parser: Parse Stack Overflow for potentially link-only answers
The provided Python script is designed to identify potentially "link-only" answers on Stack Overflow for a specified time period and set of tags. It does this by leveraging the Stack ...
3 votes
1 answer
78 views
getting answer body and question body in same request [duplicate]
I'm trying to get only questions and answers. I filtered the fields, to get also the body of answers, but I don't get an answers JSON object. What am I missing? I know about this question, but I don'...
6 votes
0 answers
122 views
OBSOLETE - Copy Code Exchange - copy code to clipboard from Stack Exchange sites!
Screenshot Dark Mode Light Mode About This is a userscript to copy code (from any <pre> element) to the clipboard from all Stack Exchange sites. It's pretty nice and cool to be able to copy the ...
3 votes
1 answer
73 views
How do I search answer bodies for Markdown links?
The /search/excerpt query enables searching answers for specific text, but searching for Markdown links returns results that don't seem to match the query at all. For instance, the following query ...
3 votes
0 answers
58 views
Hide answer sorting for a single answer
StackExchange hide sorting for a single answer A userscript that removes the sorting combobox in questions when there is only one answer available. Before: After: For users who prefer a cleaner UI ...
2 votes
1 answer
2k views
Obtain the list of questions associated to answer_ids without losing the information of which question comes from which answer_id
This is a follow up to a previous question of mine, and the starting point is that, given a list of reputation objects retrieved via /users/{ids}/reputation, I can easily retain only the entries with ...
13 votes
3 answers
354 views
Activity Indicator - see if you participated in a Q&A at a glance
About Activity Indicator is a userscript that displays a, well, indicator and some useful stats about your interactions with a given post. Inspired by this feature request, upon opening a post, the ...
4 votes
0 answers
85 views
Answer accept indicator
About With Outdated Answers: accepted answer is now unpinned on Stack Overflow, I find that it would be nice to have an indicator. Some posts have multiple pages, and searching for the one post among ...
11 votes
0 answers
183 views
Accepted Answer Pinner
About As of September 8th, 2021, accepted answers are no longer pinned on Stack Overflow and probably soon on other sites in the network as well. For some users, this is the realization of a long-...
10 votes
1 answer
760 views
Sort Best First
Inspired by the Fastest Gun question on the central Meta, this script implements answer sorting based on a modified Wilson score. Installing the script adds a ‘Modified Wilson score’ sort option on ...
1 vote
1 answer
177 views
How can I fetch the answers posted in last week based on tags of the question?
I see that tags are present only for questions. How can I get the answers to these questions given in last week (if any) having specific tags?
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 ...
2 votes
0 answers
250 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 ...
3 votes
0 answers
75 views
Tags are not returned when querying /users/{ids}/answers
I'm querying the API for answers-by-user, and I want the tags belonging to the parent questions. I seem to be seeing intermittent results: sometimes the tags attribute of the response includes the ...
1 vote
1 answer
119 views
Why doesn't the API return a 'locked date' for this locked answer?
This answer has been locked, yet when I ask the API about this post it fails to return a locked_date: It's a rather old lock, but I can't see anything suspicious in the timeline or the Post History.
2 votes
1 answer
96 views
Get everything touched by a user?
I'm trying to figure out the best way to compile all "post threads" (Questions and all related Answers and Comments) where a specific user owns any of the {Question, Answer or [a comment on either the ...
18 votes
0 answers
454 views
CopyPastor - Monitoring plagiarized posts on Stack Overflow
Background Guttenberg is a chatbot which reports plagiarized posts on Stack Overflow. CopyPastor is a web dashboard for Guttenberg. Guttenberg sends all the data upon detection of a plagiarized post ...
2 votes
1 answer
306 views
How to get deleted answers?
Users with a certain reputation, can see deleted answers (deleted either by moderators or by their owners themselves). Does the API offer any means to access such deleted answers?
31 votes
0 answers
1k views
Belisarius - Detecting vandalism on Stack Overflow
Background: This bot has been developed in an attempt to help capture possible vandalism. This includes: Removing all code Replacing all content with nonsense/repeated words Adding solutions to ...
3 votes
0 answers
71 views
The tags array is missing from answer results
I'm probably missing something very obvious but it seems like /users/{ids}/answers forgets to include the tags badge in the resulting answer object: tags (2.1) an array of strings Nowhere does this ...
4 votes
0 answers
117 views
Sidebar Answer Status
Description: As of 1.10 this now also works in Firefox / Greasemonkey. This is a userscript that modifies the Linked and Related sidebar lists to show answered status and other info: Download: ...
8 votes
1 answer
173 views
The answer object returns an empty array for tags
Since version 2.1, the answer object has a field called tags. However, sometimes, an empty array or even nothing is returned in this field: Example with the filter !-*f(6t0Vk01e. Am I doing ...
45 votes
0 answers
2k views
Guttenberg - A bot searching for plagiarism on Stack Overflow
What is Guttenberg? Guttenberg is a bot that searches for plagiarism or duplicated answers on Stack Overflow. It's currently running in SOBotics under the user Guttenberg. Implementation Every 60 ...
4 votes
2 answers
96 views
Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?
I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own ...
15 votes
1 answer
391 views
OBSOLETE - Sentinel - monitoring new answers to old questions
(Please note that Sentinel is currently broken and will remain permanently unmaintained. A functioning version can be found here) First there was Natty - looking for new answers to old questions that ...
79 votes
0 answers
6k views
Natty - Bringing 10k moderation to All
Background and History The New Answers to Old Questions tool helps us to find all the answers added to questions which are more than 30 days old. However the issue with the tool is that it is not ...
8 votes
0 answers
299 views
Upvote First for StackOverflow - Chrome extension that sorts answers by your votes
Upvote First for Stack Overflow Chrome extension that sorts Stack Overflow answers by your upvotes. Available on Chrome Extension store 100% free and open source works on all Stack Exchange sites ...
4 votes
1 answer
132 views
Getting the top answerers/users for a tag in a custom time range?
I'm trying to use the top answers on tags API to get the users who contribute the most for a given tag. Like so: /2.2/tags/azure-web-sites/top-answerers/month?site=...
5 votes
0 answers
114 views
stackanswers.vim - View answers from Stack Overflow within Vim
Introduction stackanswers.vim is a Vim plugin that allows a user to ask a question, and receive answers from Stack Overflow right into Vim. Usage You can ask the question by running :StackAnswers <...
3 votes
1 answer
44 views
Top answers for a tag is returning user details?
I am expecting top answers for a particular tag here. But it returns user details. Is anything wrong here? Using: /2.2/tags/java/top-answerers/all_time?site=stackoverflow
4 votes
1 answer
104 views
How to monitor (for new) accepted answers by certain tags?
In practice, I don't know the IDs of the questions, but I can search for answers by given tag(s). The problem is how to find (newly) accepted answers. The "activity time" does not work for this. For ...
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 ...
4 votes
1 answer
120 views
Get total answers count for a specified: Tag, Userid and Date-range?
I would like to get the total number of answers provided by userid 1068142 between 01/07/2015-31/07/2015 with tag = paypal. I have looked into this question but it does not help! I have been trying ...
5 votes
1 answer
162 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
0 answers
93 views
QuestionPacker - Packs Question in a Webpage
Screenshot About It is my version of StackTack, which seems to be discontinued. License Inbox Reader is released under the Apache License 2.0. Download You can get QuestionPacker here: http://...
5 votes
5 answers
230 views
Quick navigation between answers
This script provides you with a box which contains the links to the answers on this page. (Click for larger image) Get / update this script.
2 votes
1 answer
158 views
What is the difference between accepted and is_accepted?
I saw there are two fields in answer type. One is accepted, introduced in v2.2 and needs private_info access. While another one is is_accepted without these limits. Can somebody give an explanation?
1 vote
1 answer
135 views
How do I get the body of an answer, as well as the author? [duplicate]
I am using this call to get the body of an answer : http://api.stackexchange.com/2.2/questions/5877753/answers?order=desc&sort=activity&site=stackoverflow But this only gives the author of ...
3 votes
0 answers
145 views
Devlookup : A Search tool designed for developers
About Devlookup is a search tool designed for developers. It aggregates results from the most important development websites, using Bing as the backend engine. The main goal is to improve resource ...
4 votes
0 answers
68 views
API returns delete vote count for questions, but not for answers
The questions method of the API returns the number of delete votes among other kinds of votes: sample query. But the answers method does not have a delete_vote_count field available in the filter: ...
2 votes
0 answers
72 views
How can I show recently answered questions and answers in my blog site?
I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this. Also, from what I can see, in order to use the API a user needs ...
3 votes
0 answers
54 views
/answers API request returns no tags if body_markdown is included [duplicate]
This API request to /answers has the filter set to return the tags field for the corresponding question. It works fine: api.stackexchange.com/docs/answers#filter=!9YdnSPElz But, when the filter is ...
2 votes
2 answers
141 views
Total Number Of Answers
I need to find the total number of answers submitted by a user on stackoverflow. I tried the following: I got my json from the following: https://api.stackexchange.com/users/2440312/answers?site=...
2 votes
1 answer
79 views
`last_editor` is missing but `last_edit_date` is present?
Some posts (questions or answers) have a last_edit_date but no last_editor. Does this always mean that the post was last edited by the post owner? Example: stackapps.com/a/3891/ PS: This issue came ...
2 votes
0 answers
75 views
Unhide Downvoted Answers
About This simple userscript allows you to hover over an answer that has been greyed-out because of its low score to remove the styling. After you move away from the post, it will return to its ...
4 votes
0 answers
71 views
Please add a "self answer" flag to the answer results/object
Is there an easy way to tell if an answer is from the question poster? I'm working on Blaze, and I'm grabbing answers from the /answers method. I'd like to indicate if the answer is from the question ...