Untitled
user_2299906
plain_text
a year ago
2.1 kB
3
Indexable
Never
public string CheckStatus() { string result = Get("https://www.facebook.com").Result; if (string.IsNullOrEmpty(result)) { return "Lỗi kết nối"; } string FB_DTSG = RegexMatch(result.Replace("\\", string.Empty), "DTSGInitialData\",(.*?),{\"token\":\"(.*?)\"").Groups[2].Value; if (!string.IsNullOrEmpty(ResponseURI)) { if (ResponseURI.IsContains("checkpoint")) { if (ResponseURI.IsContains("checkpoint/disabled")) { return "Disable"; } else { string type = Regex.Match(ResponseURI, "checkpoint/(\\d+)").Groups[1].Value; if (type == "828281030927956") return "CP 956"; else if (type == "1501092823525282") return "CP 282"; else return "CP KXĐ"; } } else if (result.IsContains("input type=\"password\"")) { return "Wall Out"; } else if (!string.IsNullOrEmpty(FB_DTSG)) { return "Wall Live"; } else if (result.IsContains("You are not logged in")) { return "Wall Out"; } else return "Chưa xác định"; } else if (!string.IsNullOrEmpty(FB_DTSG)) { return "Wall Live"; } else if (result.IsContains("You are not logged in")) { return "Wall Out"; } else return "Chưa xác định"; }