function Connect($_data, $_action)
 {
     if (function_exists("gzuncompress")) {
         $_data["p_zip"] = "1";
     }
     $opts = array('http' => array('method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => http_build_query($_data)));
     $context = stream_context_create($opts);
     $result = file_get_contents(CONFIG_LIVEZILLA_SOCIAL . strtolower(SocialMediaChannel::GetChannelTypeName($this->Type)) . "/?a=" . $_action, false, $context);
     if (!empty($result) && !empty($_data["p_zip"])) {
         $result = gzuncompress(base64_decode($result));
     }
     if (!empty($result) && is_string(json_decode($result)) && strpos(json_decode($result), "ERR") === 0) {
         handleError("123", "Error connecting social channel: " . $this->Name . " (" . json_decode($result) . ")", "", 0);
     } else {
         return $result;
     }
     return "";
 }