Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
6 votes
1 answer
91 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 ...
Brock Adams's user avatar
5 votes
1 answer
113 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&...
Jithesh Kt's user avatar
4 votes
1 answer
100 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 ...
Vimalnath's user avatar
  • 143
4 votes
2 answers
78 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 ...
clickbait's user avatar
  • 383
4 votes
1 answer
78 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 ...
Jason Li's user avatar
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 ...
Shyju's user avatar
  • 133
3 votes
2 answers
449 views

What is the correct way to get the stackoverflow.com URL for an answer via the API?

A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
mikej's user avatar
  • 185
3 votes
1 answer
51 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 ...
tony19's user avatar
  • 133
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
shams's user avatar
  • 133
3 votes
1 answer
90 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 ...
Dharman's user avatar
  • 503
3 votes
1 answer
201 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 ...
Jason Li's user avatar
3 votes
1 answer
100 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 ...
elixenide's user avatar
  • 173
3 votes
1 answer
35 views

getting answer body and question body in same request [duplicate]

I'm trying to get only questions and answers. I filtered the fields, to get also the body of answers, but I don't get an answers JSON object. What am I missing? I know about this question, but I don'...
AJ AJ's user avatar
  • 133
2 votes
2 answers
105 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=...
Aaditi Jain's user avatar
2 votes
1 answer
130 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?
Zigii Wong's user avatar
2 votes
1 answer
58 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 ...
Sean Allred's user avatar
2 votes
1 answer
525 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=...
The Alpha's user avatar
  • 123
2 votes
1 answer
1k 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 ...
Enlico's user avatar
  • 197
2 votes
1 answer
72 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 ...
ashleedawg's user avatar
2 votes
3 answers
126 views

Ideas for dealing with this pagination problem?

Okay, here is the problem: Certain questions contain more than one page's worth of answers. Given a sort method and an answer id, how can we figure out which page the answer is on? Any suggestions ...
Nathan Osman's user avatar
  • 23.3k
2 votes
0 answers
64 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 ...
Rajeev K Tomy's user avatar
2 votes
1 answer
100 views

Why answers don't have a "locked" attribute?

When looking at an answer, I can see that there is no locked_date attribute, like there is for questions. IIRC, answers can be locked by moderators. Also, if a post is unlocked, is that field ...
voyager's user avatar
  • 2,123
1 vote
1 answer
150 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?
Ramya Sunkara's user avatar
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 ...
Shivam Bhalla's user avatar
1 vote
1 answer
168 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) ...
Ilmari Karonen's user avatar
1 vote
1 answer
624 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 ...
RobSiklos's user avatar
  • 113
1 vote
0 answers
121 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?
Anand Kamathi's user avatar