In jQuery I want to fetch some data from facebook using the $.getJSON() method, but if the token is invalid, Facebook is returning the 400 status. How I can catch the error in $.getJSON() instead of $.ajax()?
In jQuery I want to fetch some data from facebook using the $.getJSON() method,
Share
I think this will work for you