Questions tagged [comments]
Questions handling comments using the API. Or, posts of Scripts / Apps / Libraries that facilitate dealing with comments on Stack Exchange sites.
67
questions
1
vote
1
answer
30
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:
2
votes
1
answer
57
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 on ...
71
votes
8
answers
2k
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 ...
56
votes
3
answers
2k
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 comment ...
470
votes
57
answers
22k
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 ...
27
votes
1
answer
713
views
Add keyboard shortcuts to comments
Question code is obsolete.
But the answer code and the code linked in the comments still work.
About
This script adds Ctrl+B (bold), Ctrl+I (italic), Ctrl+K (code), and Ctrl+L (link) shortcuts to ...
3
votes
1
answer
102
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 HTML ...
3
votes
1
answer
78
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 ...
30
votes
1
answer
1k
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.
...
98
votes
6
answers
3k
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&...
83
votes
3
answers
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 of ...
2
votes
1
answer
43
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 ...
1
vote
1
answer
95
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 than ...
7
votes
1
answer
72
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
...
2
votes
1
answer
36
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 ...
3
votes
2
answers
71
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
1
answer
95
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:
/...