Questions tagged [questions]
Tools that help with questions, or issues with the API handling of questions.
35
questions
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 ...
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 ...
42
votes
9
answers
1k
views
LegacyQuestions - Bringing back the old questions design
Preview
What is LegacyQuestions? (install)
LegacyQuestions brings back the old questions list design changed in a recent update.
Changelog
v2.0
fixed vertical list bug, props to Dani21 for the PR
...
6
votes
1
answer
129
views
API throws improper error when "date" parameters are the same
When using the Stack Exchange /questions API using the same date for fromdate and todate I get a 500 internal server error.
Using different dates appears to work OK but specifying the same value ...
6
votes
1
answer
222
views
Why these questions do not have a title?
Hitting the following /questions route:
http://api.stackoverflow.com/1.0/questions/74?pagesize=1&page=1
the endpoint returns this JSON data:
{
"total": 1,
"page": 1,
"pagesize": 1,
"...
3
votes
1
answer
121
views
Problem getting a users questions within a date range
I'm having a problem returning a list of users questions within a given timespan. I understand that the documentation ( http://api.stackoverflow.com/0.8/help/method?method=users/{id}/questions ) that ...
1
vote
1
answer
124
views
Getting questions that have a specific tag or tags?
In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags?
EG:
All Stack Overflow questions asked in the past 2 months tagged 'ruby'?
All Stack Overflow questions ...
29
votes
0
answers
1k
views
FireAlarm: detecting low-quality questions with machine learning
There are two versions of FireAlarm. One version is written in C, and the other is written in Swift. This post is about the Swift version.
FireAlarm is a chatbot Ashish Ahuja and I have been ...
26
votes
4
answers
542
views
'Saviour' of Lost Souls
'Saviour' of Lost Souls
Meta sites, but especially Meta Stack Exchange, see a lot of 'lost souls', users who have no idea that they're on Meta (e.g. because of a suboptimal email or a Stack Overflow ...
25
votes
1
answer
449
views
Duplicate Target Manager
Description
This is a userscript that lets you mark questions as commonly used duplicate targets, and replaces the default question search in the close dialog with one that searches through your ...
13
votes
1
answer
619
views
Show User Accept Rates
This simple user script restores the display of a user's question accept rate on questions they ask.
Known Issues:
New: In Firefox, throws a "no element found" error and fails to display anything.
...
13
votes
3
answers
224
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 ...
12
votes
0
answers
274
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 ...
11
votes
0
answers
164
views
Bonfire - dashboard for FireAlarm detecting low-quality questions
FireAlarm is a chatbot detecting low-quality questions. Bonfire is a web-dashboard written using Ruby on Rails, made specifically for FireAlarm. Upon low quality post detection, FireAlarm sends all ...
9
votes
1
answer
129
views
Why is comment_count=1 (incorrectly) when this particular filter is used?
We're seeing that, when a particular filter we've created is used, the API will return "comment_count": 1 for questions with no comments.
For a search for questions with no answers, ordered by ...
8
votes
1
answer
213
views
Why is /questions API returning deleted questions?
In last few days I have noticed that questions API returns questions that where deleted hours before the API call.
This is a short example, if more logs are need to pin point the problem, please ...
7
votes
0
answers
252
views
StackBot - Making it easy to post StackExchange questions to Twitter
About
StackBot is a small C# application that is designed to post interesting questions to a Twitter account at specified intervals.
License
StackBot is released under the Ms-PL license.
Download
...
6
votes
1
answer
110
views
The tagged parameter does not work with multiple tags
Take these two API calls:
http://api.stackoverflow.com/0.8/questions?tagged=php;rant
http://api.stackoverflow.com/0.8/questions/tagged/php;rant
A couple of problems:
Shouldn't they return the same ...
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&...
4
votes
1
answer
39
views
Does `inquestion` support multiple question ids?
The q parameter has an inquestion operator that can take a question id.
Can it take multiple question ids?
My use-case is as follows:
I want to get an array of questions with their excerpts.
However,...
4
votes
0
answers
272
views
Newest unaswered by tags
Screenshot
About
Often, when I was looking for questions to answer on StackOverflow, I would go through newest unanswered questions and look for those that had one of my favorite tags. The “my tags” ...
3
votes
1
answer
98
views
View close/reopen votes without 3k rep
Preview
About
This script enables you to view the close/reopen votes on a post without unlocking the cast close and reopen votes privilege unlocked at 3000 reputation.
Powered by Stack Exchange API.
...
3
votes
1
answer
127
views
How to check if a given question is changed
What is the fastest way to check if a question is changed using the API calls?
For my purpose (a cache), a question is considered changed if:
A new comment is added to the question or to any of its ...
3
votes
0
answers
167
views
What's the proper way to fetch the score of all answers of SO?
I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days).
Basically the request I do gets me this:
Questions[]:
Id
Title
...
3
votes
0
answers
75
views
Why is there a difference between "questions" and "search" in API?
I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results:
https://api.stackexchange.com/2....
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 ...
2
votes
1
answer
70
views
The /questions endpoint only returns around 30,000 items where 400,000 are expected
I use stackr library and I registered an api key as the library mentions "since it increases your daily quota of queries from 300 to 10,000." So I use the following code, which worked fine ...
2
votes
1
answer
203
views
Add 'linked' question data to the API
SE sites show linked questions on the right column.
It would be great to add an array of ids to the question response called 'linked'.
Example Linked Question
2
votes
0
answers
98
views
API to Emulate Notifications
Is there a API End Point that will emulate Test Notifications? When I say Notifications, I Mean both Inbox and Achievements.
Right now i am using below for the data
Unread Notification : https://...
2
votes
0
answers
107
views
400 when posting a question to the Stackexchange API
I am adding a question via the API and I manage to create a preview of my question (See JSON extract below).
{
"has_more" = 0;
items = (
{
"creation_date" = ...
1
vote
1
answer
171
views
How do I find all questions/answers per a tag using .Net?
I want to get the list of questions based on tag name using .Net. can any one please let me know how to achieve this using .Net with API Version 2.2?
1
vote
0
answers
240
views
Real time questions for any Stack Exchange site
Screenshot / Code Snippet
About
This script provides real time updates and filtering of active questions for all SE sites.
Shows active questions in real time
Filter by favorite tags
Filter by ...
1
vote
1
answer
95
views
How to sort by the newest question?
I'm trying to retrieve the latest questions posted in a particular tag.
What's the equivalent for:
http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15
I see that v1.1 API is ...
1
vote
1
answer
84
views
Can the API Edit a Question, changing only one field?
The documentation for the edit question method (/questions/{id}/edit) is somewhat vague.
Are all of the parameters required?
For example, if the only field I want to change in the question is tags, ...
1
vote
1
answer
108
views
How to get all questions with a specific tag between certain dates
I would like to get all questions created and tagged with tag "R" between 2 dates.
I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...