Add error handlers to facebook methods