Questions handling comments using the API. Or, posts of Scripts / Apps / Libraries that facilitate dealing with comments on Stack Exchange sites.

learn more… | top users | synonyms

335
votes
54answers
14k views

AutoReviewComments - Pro-forma comments for SE

No more re-typing the same comments over and over! This script adds a little 'auto' link next to all comments boxes. When you click the link, you see a popup with 6 configurable auto-comments (canned ...
82
votes
5answers
2k views

“Reply” links on comments

Screenshot About This user script adds a little "reply" link to each comment. Clicking this link will fetch the rest of the comments, if some of them were hidden show the "add comment" text box ...
74
votes
2answers
2k views

Threaded comments

History June 6, 2012: Fixed an issue that can cause major problems with chat. December 17, 2013: Fix an incompatibility with the Winter Bash code. Screenshot Before: After: About Instead ...
52
votes
2answers
1k views

SE Comment Link Helper

About This userscript automatically converts raw Stack Exchange question URLs into the form [title](link) before submitting comments by grabbing their titles from the API. This is similar to ...
50
votes
3answers
1k views

SE Modifications — Username autocomplete in comments, inline revision source, and utility links

Screenshot About This userscript adds four main features: Various utility links on posts and in the top bar Inline viewing of post revision source Markdown on the post history page Links on ...
28
votes
1answer
698 views

Disable enter for submitting comments

About This user script disables the default behavior of the enter key submitting a comment. With this script installed, you must explicitly click the Add Comment button to submit your comment. ...
8
votes
4answers
322 views

Self-destructing comments

I've made a userscript that allows you to self-destruct comments that you've made. You can get it at Github. Get started install Tampermonkey, or Greasemonkey get an access token install the ...
8
votes
0answers
212 views

Auto-Add A Comment When Closing

About Automatically adds a comment when closing a question, with the text taken directly from the close reason you chose, so that the OP can see why their question may be being downvoted, and improve ...
7
votes
1answer
63 views

User's Comments: returning 500 error?

It looks like when I try to get the comments of a user that has "a huge number" of comments, I get a 500 error. Jon Skeet's comments, 500 error: http://api.stackoverflow.com/1.0/users/22656/comments ...
7
votes
2answers
117 views

Make your own custom “magic links” for comments!

There are loads of feature requests on Meta for adding specific 'magic links' to comments. (links that expand, eg. [edit] -> [edit](/posts/id/edit)). So I made a userscript that allows you to create ...
7
votes
0answers
82 views

The field body_markdown is not returned for comments

Using the method questions-by-ids to get the comments on a particular question, I do not get body_markdown returned despite it being selected in the filter. Here is the test query to reproduce the ...
5
votes
0answers
66 views

Early warning for new questions with problematic tags or titles

Leaves a temporary comment on new Stack Exchange questions with problematic tags or titles. Some of the issues detected by the bot: a non-descriptive title a vague tag used as the only tag all tags ...
5
votes
0answers
98 views

Answerer Name comment highlighter [duplicate]

Update: This has been added to my Optional Features userscript - please go there for the latest version. After reading this, I really liked the idea, so I made a Userscript to highlight answerer's ...
4
votes
1answer
80 views

QuickComment: comment shortcuts to cut down on tedium

QuickComment quick SE comments for quick SE people Description Tired of typing the same thing over and over again? Now, with QuickComment, you can type ";;linkonly" (for example) and have it expand ...
4
votes
0answers
71 views

SE Comment Preview - An attempt to add real-time previewing for comments

Screenshot About This script creates a new live preview directly beneath any comment you compose or edit. When writing a comment with a lot of formatting, especially one containing some ...
4
votes
0answers
89 views

QuickComment2: Automatic keyboard-only comment snippets

This is a vastly improved version of QuickComment: comment shortcuts to cut down on tedium. See that post for more information. See the Github repo for instructions on how to install and use ...
4
votes
0answers
50 views

Comment Saver - Unposted comments are saved between page loads

Simply stores unposted comments (using HTML5 localStorage) between page loads, so that if you leave the page you don't lose your comment. Currently a bit hacky, but it works. User Script: https://...
3
votes
2answers
61 views

Sorting comments by votes doesn't return 0 score comments

I have a query: http://api.stackoverflow.com/1.0/users/16822/comments?sort=votes This doesn't return comments with no votes, setting min to 0 doesn't work. This query includes them all, but isn't ...
3
votes
1answer
108 views

Request for self destructing comments

What would I like? I would like comments that can self destruct after a set amount of time. Why? I often add a comment that doesn't need to stay around, like saying thanks to a user, or telling ...
3
votes
1answer
31 views

How do display names relate to at-mentions?

Display names seem to be able to use full-on Unicode, but this is not so for at-mentions (Comment-replies). At the very least, spaces are stripped when doing an at-mention for Test User; this would ...
3
votes
1answer
68 views

Comments in user timeline are returning Markdown

In users/{id}/timeline, the detail field for comment events is formatted with Markdown and not HTML. Is it normal? I saw in the question Comments are returning markdown that the API should return ...
3
votes
1answer
63 views

Retrieving comments received by a user

I want to retrieve all comments directed to a particular user (rather than comments posted by that user) within a particular time period (e.g. last 24 hours). I don't want just "mentions", which are ...
3
votes
1answer
81 views

Methods that return comments document body and comments parameters but they do nothing

Methods that return comments document the "body" and "comments" parameters, but they have no effect on the results, which cannot include comments and always include the body. Specific methods: /...
3
votes
0answers
20 views

Magic Links Enhancer

This userscript adds a way to quickly link to posts, help pages, privileges and links across the Stack Exchange sites. It uses @M'vy's idea of having a basic format of [SITE:type:id], and works the ...
3
votes
0answers
38 views

Filter doesn't consistently return comment bodies

I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields: answer: answer_id body_markdown comments ...
3
votes
0answers
79 views

Comment Separator Fix

This fix is now included in the Stack Overflow Unofficial Patch (SOUP) v1.20.0 About We have this nicely formatted toolbar with all of the moderation tools we need below questions: So, why is it ...
2
votes
1answer
41 views

/comments?fromdate is broken?

The following url should return 0 comments: http://api.stackoverflow.com/1.1/comments?fromdate=9999999999 Instead it returns all comments, not actually filtering by fromdate at all. It happens ...
2
votes
1answer
41 views

The 'total' field of /comments result is showing up as 0.

Running the following query: http://api.stackoverflow.com/1.1/comments Yields: { "total": 0, "page": 1, "pagesize": 30, "comments": [ ... Notice that the total entry indicates there are ...
2
votes
1answer
32 views

/questions/id route problem: comments section is not returned when there aren't comments on question

Something is changed on questions route called with comments= True: http://api.stackoverflow.com/1.0/questions/1940243?body=True&comments=True&pagesize=1&page=1 It does not return the ...
1
vote
1answer
34 views

fromdate is ignored for /posts/{id}/comments requests

The api docs: http://api.stackoverflow.com/1.0/help/method?method=posts/{id}/comments The test request. You can see comment itself here, it's four months old, while cutoff date in request is less ...
1
vote
0answers
74 views

Bypass character limits in comments

Screenshot About Complaints on meta were raised about the threshold of 15 chars for comments, and even though many people agree that it shouldn't be there, this request was status-declined. Using ...
1
vote
0answers
294 views

Auto-comment Close Reasons

Description This script will automagically fill the comment box for you when you vote to close with the reason you are voting to close for! That way the user that asked the question can know what is ...
1
vote
0answers
28 views

Allow convert-to-comment without confirmation and even if there are comments

This userscript allows moderators to use the "convert to comment" button even if the answer has comments. It also removes the annoying confirm() prompt when converting an answer to a comment. You can ...
1
vote
1answer
27 views

Runtime error getting thrown with certain parameters on older 1.1 methods

This v1.1 URL is creating a runtime error: http://api.stackapps.com/1.1/comments&min=1323731212 Example output:
0
votes
1answer
84 views

API v2.1 supports write access, but is anyone using it?

Over the weekend, I attended an NHS "Hackday" where we tried to solve a problem one of the junior doctors brought. We hacked together a stack exchange alternative for medical doctors to ask questions. ...
0
votes
0answers
36 views

“error_id”:500,“error_message”:“this error has been logged”,“error_name”:“internal_error”

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error ...