Skip to main content
6 votes

The answer object returns an empty array for tags

This is a bug and seems (based on a series of A/B tests) to be linked with the body_markdown property. That is, if your filter returns the tags array, it works: "items": [ { "tags": [ "batch-...
Brock Adams's user avatar
  • 12.9k
4 votes

Activity Indicator - see if you participated in a Q&A at a glance

status-planned Just a simple recommendation (I do not particularly like the abbreviations): could there be a table on hover, e.g: * Like the Roomba Forecaster userscript. The table can contain long ...
Ghost's user avatar
  • 473
3 votes
Accepted

How do I search answer bodies for Markdown links?

The search methods work on the HTML version of the post, so searching for Markdown won't work. You can either use this parameter url - a url which must be contained in a post, may include a wildcard. ...
Glorfindel's user avatar
  • 6,782
3 votes

Sort Best First

Test cases: The good: Much of the time, vote-weighing order successfully puts first a better-quality answer than the most popular one as measured by naïve score sort. Under ‘Passing a string literal ...
user3840170's user avatar
2 votes
Accepted

Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?

First can I say, you might want to use your own icon. Font Awesome is a very useful and easy to use icon toolkit that lets you add icons with simple CSS classes. You could use http://fontawesome.io/...
ᔕᖺᘎᕊ's user avatar
  • 4,365
2 votes
Accepted

How to search answers like is:answer

I forget when, but sometime in the last couple of years, the /search/excerpts route started allowing is:answer in the q parameter. For example:           /2.2/search/...
Brock Adams's user avatar
  • 12.9k
2 votes

Getting the ID of the question-asker when fetching new answers from the API

No; the answer object doesn't contain any information about the question except the question ID. I'm not sure how you obtain the answer IDs, but you could investigate if it's possible to look for ...
Glorfindel's user avatar
  • 6,782
2 votes

Activity Indicator - see if you participated in a Q&A at a glance

feature-request status-deferred Please add a way to search through these posts1. Possible use cases: Checking your recent comments (on either questions or answers) to see whether they are still up to ...
Ekadh Singh - Qwertyuiop ASzdL's user avatar
2 votes
Accepted

How to get deleted answers?

This question is nearly a duplicate of: Provide a way to retrieve questions and answers that have been deleted -- which has been "status planned" for 6+ years. In general, it is very hard to search ...
Brock Adams's user avatar
  • 12.9k
1 vote
Accepted

getting answer body and question body in same request

I recognize that problem, I've had it too in the past. It may be a bit counterintuitive, but you also have to select question.answers in the filter. A possible reason for this to not be automatic is ...
Glorfindel's user avatar
  • 6,782
1 vote
Accepted

Obtain the list of questions associated to answer_ids without losing the information of which question comes from which answer_id

On the other hand, making one single /answers/{ids}/questions request for all the ids (well, I should actually make a request for chunks of 100 entries; then maybe I have to browse the few resulting ...
Glorfindel's user avatar
  • 6,782
1 vote

How can I fetch the answers posted in last week based on tags of the question?

I'd still use the /questions method, and change the filter to include answer details. E.g. this query lists all Stack Apps answers in the support tag, newest first. All I had to do was to edit the ...
Glorfindel's user avatar
  • 6,782
1 vote

Why doesn't the API return a 'locked date' for this locked answer?

Does it work on answers at all? Here's a newer locked answer.   Yet, it doesn't have a locked_date either. It's not a filter issue. Nor is it fixed in version 2.3 (yet). Also, additional bug ...
Brock Adams's user avatar
  • 12.9k
1 vote
Accepted

Get everything touched by a user?

Since some users might exhaust your quota, for such a set of data, this might be a better job for SEDE. In your API approach, not sure why you are getting question id's from answer id's. You can ...
Brock Adams's user avatar
  • 12.9k
1 vote

Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?

Don't use the default button. That's bad UI anyway. Add your own favorite button for each answer. And, since you will be using your own classes, like: <a class="myStarOff" href="#" data-ansID="...
Brock Adams's user avatar
  • 12.9k
1 vote

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

No, they should not. We "abuse" the Question and Answer model a bit but what basically happens when you post a question tagged app, script or library, the answers basically can be seen as ...
rene's user avatar
  • 2,607

Only top scored, non community-wiki answers of a minimum length are eligible