Questions tagged [answers]
Tools (scripts/apps/libraries) that help with answers, or issues with the API handling of answers
66
questions
3
votes
1
answer
39
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
30
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
314
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
225
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
62
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
135
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-...
9
votes
1
answer
532
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
141
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
75
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
176
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
52
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
77
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
67
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
400
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
245
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 ...
3
votes
0
answers
39
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
99
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:
...
7
votes
1
answer
123
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 ...
46
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
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 ...
14
votes
0
answers
240
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 ...
76
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 ...
8
votes
0
answers
268
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
85
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
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
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
184
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 ...
5
votes
1
answer
85
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
69
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
167
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.
1
vote
0
answers
119
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
120
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 ...
4
votes
0
answers
43
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
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 ...
2
votes
2
answers
100
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
54
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 ...
4
votes
0
answers
58
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 ...
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 ...
1
vote
1
answer
154
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
611
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 ...
6
votes
1
answer
70
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 ...
2
votes
1
answer
505
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=...
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 ...