6

Similar to your flair that you can post an HTML snippet of and post on your blog site or elsewhere, is it possible to get, say, the most recent questions I asked or most recent questions by tag and display that on an external web site using an HTML snippet?

Or is there a REST API I can use to do this?

1 Answer 1

6

Yes, there's an API. Here's a simple example that will display the title of the latest question you answered:

<script>
var url = "http://api.stackoverflow.com/1.1/users/231716/answers?jsonp=?"
jQuery.getJSON(url, function(data) {
    alert("Brian's latest answer was to \"" + data.answers[0].title + "\".");
});
</script>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .