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
2 votes
1 answer
34 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 ...
  • 123
3 votes
0 answers
26 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 ...
  • 163
2 votes
1 answer
211 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 ...
  • 197
11 votes
3 answers
200 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
58 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 ...
10 votes
0 answers
129 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-...
  • 6,022
5 votes
1 answer
418 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
139 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?
3 votes
1 answer
69 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 ...
  • 483
1 vote
0 answers
158 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
49 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 ...
  • 131
1 vote
1 answer
72 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.
  • 6,022
2 votes
1 answer
66 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 ...
16 votes
0 answers
390 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 ...
  • 1,317
2 votes
1 answer
237 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?
28 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 ...
  • 441
3 votes
0 answers
38 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 ...
4 votes
0 answers
98 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: ...
  • 591
7 votes
1 answer
117 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 ...
  • 605
43 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 ...
  • 605
4 votes
2 answers
75 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 ...
  • 375
14 votes
0 answers
236 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 ...
  • 473
75 votes
0 answers
5k 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 ...
  • 1,317
8 votes
0 answers
260 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
84 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
97 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
33 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
  • 133
3 votes
1 answer
75 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
179 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
95 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 ...
  • 143
5 votes
1 answer
84 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
68 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
163 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.
  • 396
1 vote
0 answers
118 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?
2 votes
1 answer
118 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
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 ...
3 votes
0 answers
140 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 ...
  • 139
4 votes
0 answers
42 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
60 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
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 ...
  • 131
2 votes
2 answers
99 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
53 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
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 ...
  • 903
4 votes
0 answers
56 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 ...
  • 1,025
3 votes
1 answer
92 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 ...
  • 173
1 vote
1 answer
150 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) ...
1 vote
1 answer
608 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 ...
  • 113
6 votes
1 answer
67 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 ...
  • 12.7k
2 votes
1 answer
491 views

Get accepted answers from Stack Overflow using Stack Overflow API 2.1

I want to fetch only my accepted answers from Stack Overflow using the API 2.1 and currently I've following code $data = file_get_contents("http://api.stackexchange.com/2.1/users/741747/answers?page=...
  • 123
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 ...
  • 133