Modify workaround code for facebook api server error.