5

How can I code a program in C# that can check for replies to my Stack Exchange questions and send me instant e-mail alerts when new replies are posted?

It'd be great if all users' activity here went directly to their e-mail.

migrated from stackoverflow.com Aug 11 '10 at 0:42

This question came from our site for professional and enthusiast programmers.

  • instant email, that sounds like an oxymoron – Sam Hasler Apr 22 '09 at 16:40
  • better than mail-over-sneakernet ;) – Eoin Campbell Apr 22 '09 at 16:43
  • @Sam Hasler - yes, but it's important to differentiate what he's asking for from, for example, a daily digest of activity. SO, I doubt, will ever implement a 'instant alert' for each activity - that would be thousands of email per hour... – Adam Davis Apr 22 '09 at 16:51
  • Related: meta.stackexchange.com/questions/6557/… – Pops Sep 23 '11 at 20:26
6

Yes - there's an rss feed on each page - just put the url into something like rssbandit.

4

You could write a program that monitors the RSS question feed. (Or simply add the feed to your news aggregator - no need for writing a separate program for it if you don't have special requirements).

The question feed URL is (for this question):

http://stackoverflow.com/feeds/question/778127
  • Might be easier to follow the feed for your own user account's recent activity page. e.g. stackoverflow.com/feeds/user/30155/recent replacing my userID with your own. – Eoin Campbell Apr 22 '09 at 16:41
  • @Eoin - That page describes activity the user performed on SO, not activity on the user's questions. – Adam Davis Apr 22 '09 at 16:43
  • @driis the RSS method is nice, but then you have to set up a feed for each question you ask. There's no feed for this yet, but you can scrape the user response page as it monitors responses, including comments, to all the user's questions. See stackoverflow.com/questions/778127/… – Adam Davis Apr 22 '09 at 16:44
  • @Adam Davies... hmmm... indeed you are correct... and it appears the responses page (which is what I thought I'd clicked on hasn't been RSS-ified yet... – Eoin Campbell Apr 22 '09 at 16:47
  • @Eoin - Yeah. Would be nice if someone entered a uservoice issue for that (unless it already exists) and linked it here so others could find it easily and vote for it... (wink, wink, nudge, nudge, hint, hint) ;-D – Adam Davis Apr 22 '09 at 16:50
  • @Adam stackoverflow.uservoice.com/pages/general/suggestions/… For some reason, Jeff closed the other ticket with 63 votes citing it as being obsolete – Eoin Campbell Apr 22 '09 at 16:59
  • So vote on this one stackoverflow.uservoice.com/pages/general/suggestions/… – Eoin Campbell Apr 22 '09 at 17:00
  • If you look at the bottom of the page, there's an RSS feed called 'question feed'. – Andy Mikula Apr 22 '09 at 17:06
2

Yes. Grab the HTTP page https://stackoverflow.com/users/recent/92735/?sort=responses and scrape it.

The advantage to this method is that you don't have to get the RSS address and add it to your monitoring program every time you ask a question - this monitors all your questions.

This page is updated whenever someone adds an answer or comment to any of your questions, as well as comments on any of your answers. You can parse out the type of response (answer to question, comment on question, comment on response) as well.

The other activity pages can be similarly scraped:

Right now SO implements email notification if you haven't visited the site recently, and activity occurs, but if you want SO to do this daily, you'll need to open a suggestion on http://stackoverflow.uservoice.com/ .

2

An RSS feed is definitely the way to go. Your personal user-specific RSS feed is here:

https://stackoverflow.com/feeds/user/92735

0

I've created a Firefox Microsummary Generator for the recent activity page that can create a bookmark live title like this: 4,402 R:10 A:1 C:2 E:0 B:0

You must log in to answer this question.