Questions tagged [answers]

Tools (scripts/apps/libraries) that help with answers, or issues with the API handling of answers

Filter by
Sorted by
Tagged with
3 votes
1 answer
26 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'...
AJ AJ's user avatar
  • 133
4 votes
0 answers
55 views

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 ...
Ghost's user avatar
  • 473
3 votes
1 answer
45 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 ...
tony19's user avatar
  • 133
3 votes
0 answers
39 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 ...
VLAZ's user avatar
  • 521
2 votes
1 answer
794 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 ...
Enlico's user avatar
  • 197
13 votes
3 answers
262 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 ...
Oleg Valter is with Ukraine's user avatar
4 votes
0 answers
63 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 ...
Little Nuts's user avatar
11 votes
0 answers
142 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-...
Glorfindel's user avatar
  • 6,762
9 votes
1 answer
606 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 ...
user3840170's user avatar
1 vote
1 answer
145 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?
Ramya Sunkara's user avatar
3 votes
1 answer
83 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 ...
Dharman's user avatar
  • 493
2 votes
0 answers
208 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 ...
Gerold Broser's user avatar
3 votes
0 answers
56 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 ...
larsks's user avatar
  • 141
1 vote
1 answer
84 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.
Glorfindel's user avatar
  • 6,762
2 votes
1 answer
69 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 ...
ashleedawg's user avatar
17 votes
0 answers
416 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 ...
Bhargav Rao's user avatar
  • 1,357
2 votes
1 answer
253 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?
Billal Begueradj's user avatar
29 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 ...
Bugs's user avatar
  • 451
3 votes
0 answers
40 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 ...
Rakete1111's user avatar
4 votes
0 answers
100 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: ...
Jason C's user avatar
  • 591
7 votes
1 answer
131 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 ...
FelixSFD's user avatar
  • 625
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 ...
FelixSFD's user avatar
  • 625
4 votes
2 answers
77 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 ...
clickbait's user avatar
  • 385
14 votes
0 answers
255 views

Sentinel - monitoring new answers to old questions

First there was Natty - looking for new answers to old questions that aren't actually answers, and posting them in a chatroom. Then there was Sentinel. Sentinel is the web dashboard for Natty. The ...
ArtOfCode's user avatar
  • 473
75 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 ...
Bhargav Rao's user avatar
  • 1,357
8 votes
0 answers
276 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 ...
Jossef Harush Kadouri's user avatar
4 votes
1 answer
90 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=...
Zain Rizvi's user avatar
5 votes
0 answers
102 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 <...
James Wang's user avatar
3 votes
1 answer
34 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
shams's user avatar
  • 133
4 votes
1 answer
76 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 ...
Jason Li's user avatar
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 ...
Jason Li's user avatar
4 votes
1 answer
96 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 ...
Vimalnath's user avatar
  • 143
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&...
Jithesh Kt's user avatar
5 votes
0 answers
75 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://...
Universal Electricity's user avatar
5 votes
5 answers
172 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.
nicael's user avatar
  • 406
1 vote
0 answers
120 views

A step by step approach for posting questions and answers?

I am trying to learn a step by step approach for posting questions and answers on stackoverflow.com using the Stack Exchange API. Could someone help me with this?
Anand Kamathi's user avatar
2 votes
1 answer
126 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?
Zigii Wong's user avatar
1 vote
1 answer
121 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 ...
Shivam Bhalla's user avatar
3 votes
0 answers
142 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 ...
uzul's user avatar
  • 139
4 votes
0 answers
46 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: ...
user avatar
2 votes
0 answers
61 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 ...
Rajeev K Tomy's user avatar
3 votes
0 answers
47 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 ...
Boann's user avatar
  • 131
2 votes
2 answers
102 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=...
Aaditi Jain's user avatar
2 votes
1 answer
56 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 ...
Sean Allred's user avatar
2 votes
0 answers
69 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 ...
AstroCB's user avatar
  • 913
4 votes
0 answers
60 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 ...
user avatar
3 votes
1 answer
96 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 ...
elixenide's user avatar
  • 173
1 vote
1 answer
160 views

Load answers to a question with review-like wrapper HTML

I'm trying to implement this feature request in SOUP, but I'm having trouble figuring out a good way to actually load the answers. I can just load the full question page (like this one, for example) ...
Ilmari Karonen's user avatar
1 vote
1 answer
620 views

How can I use the Stack Exchange API to get the total score on answers to questions with a specific tag?

I want to use the API to get the sum of all scores of my answers to questions having a specific tag. I started using top-user-answers-in-tags method, but it only returns the top 30, whereas I want ...
RobSiklos's user avatar
  • 113
6 votes
1 answer
85 views

Should feature-requests, for third party apps, be flagged as "not an answer"?

I spotted this "answer" as a first-time post: Feature Request Please add support for proxies.... It would be helpful to people behind proxies. Like "ME" I was going to flag it as "Not an ...
Brock Adams's user avatar
  • 12.9k