title: How to catch a 400 response in jQuery getJSON call
body: <p>In jQuery I want to fetch some data from facebook using the <code>$.getJSON()</code> method, but if the token is invalid, Facebook is returning the 400 status. How I can catch the error in <code>$.getJSON()</code> instead of <code>$.ajax()</code>?</p>