better error response handling from facebook