Converted $_REQUEST calls to request_var.
Removed Facebook API