Untitled

 avatar
unknown
plain_text
2 years ago
1.6 kB
3
Indexable
public string GetTokenEAABw()
        {
            string tempHtml = Get("https://www.facebook.com/dialog/oauth?client_id=124024574287414&redirect_uri=https://www.instagram.com/accounts/signup/&&scope=email&response_type=token").Result;

            if (ResponseURI.IsContains("https://www.facebook.com/dialog/oauth"))
            {
                tempHtml = tempHtml.IsReplace("\\\"", "\"");
                string scope = RegexMatch(tempHtml, "name=\"scope\" value=\"(.*?)\"").Groups[1].Value;
                string logger_id = RegexMatch(tempHtml, "name=\"logger_id\" value=\"(.*?)\"").Groups[1].Value;
                string encrypted_post_body = RegexMatch(tempHtml, "name=\"encrypted_post_body\" value=\"(.*?)\"").Groups[1].Value;
                string data = $"jazoest={Jazoest}&fb_dtsg={Fb_dtsg}&from_post=1&__CONFIRM__=1&scope={scope}&display=page&sdk=&sdk_version=&domain=&sso_device=&state=&user_code=&nonce=&logger_id={logger_id}&auth_type=&auth_nonce=&code_challenge=&code_challenge_method=&encrypted_post_body={encrypted_post_body}&return_format%5B%5D=access_token";
                PostAsync("https://www.facebook.com/v1.0/dialog/oauth/skip/submit/", data).Wait();
            }    
            
            string token = RegexMatch(ResponseURI, "EAAB(.*?)&").Groups[1].Value;
            //if(string.IsNullOrEmpty(ResponseURI)) errorStatus = "Lỗi kết nối";
            if (ResponseURI.IsContains("828281030927956")) errorStatus = "CP 956";
            if (string.IsNullOrEmpty(token)) return "";
            return "EAAB" + token;
        }
Editor is loading...
Leave a Comment