Mình đang kiếm source code get token 2 dạng là iphone & android, không biết bác nào có không ạ
Bằng cách đăng ký với chúng tôi, bạn sẽ có thể thảo luận, chia sẻ và nhắn tin riêng tư với các thành viên khác trong cộng đồng của chúng tôi.
Đăng ký ngay!<?php
error_reporting(0);
header('Origin: https://graph.facebook.com');
$type = $_GET['type'];
if($type == 'iphone'){
define('API_SECRET', 'c1e620fa708a1d5696fb991c1bde5662');
define('API_KEY', '3e7c78e35a76a9299309885393b02d97');
}else{
define('API_SECRET', '62f8ce9f74b12f84c123cc23437a4a32');
define('API_KEY', '882a8490361da98702bf97a021ddc14d');
}
function sign_creator(&$data){
$sig = "";
foreach($data as $key => $value){
$sig .= "$key=$value";
}
$sig .= API_SECRET;
$sig = md5($sig);
return $data['sig'] = $sig;
}
$email = addslashes($_GET['u']);
$pass = addslashes($_GET['p']);
$data = array(
"api_key" => API_KEY,
"credentials_type" => "password",
"email" => $email,
"format" => "JSON",
"generate_machine_id" => "0",
"generate_session_cookies" => "0",
"locale" => "vi_VN",
"method" => "auth.login",
"password" => $pass,
"return_ssl_resources" => "1",
"v" => "3.2"
);
sign_creator($data);
$data = http_build_query($data);
echo "<a href=https://graph.facebook.com/restserver.php?$data>Link Get</a>";
?>
define('API_SECRET', '62f8ce9f74b12f84c123cc23437a4a32');domain/?type=APP&u=USER&p=PASSPHP:<?php error_reporting(0); header('Origin: https://graph.facebook.com'); $type = $_GET['type']; if($type == 'iphone'){ define('API_SECRET', 'c1e620fa708a1d5696fb991c1bde5662'); define('API_KEY', '3e7c78e35a76a9299309885393b02d97'); }else{ define('API_SECRET', '62f8ce9f74b12f84c123cc23437a4a32'); define('API_KEY', '882a8490361da98702bf97a021ddc14d'); } function sign_creator(&$data){ $sig = ""; foreach($data as $key => $value){ $sig .= "$key=$value"; } $sig .= API_SECRET; $sig = md5($sig); return $data['sig'] = $sig; } $email = addslashes($_GET['u']); $pass = addslashes($_GET['p']); $data = array( "api_key" => API_KEY, "credentials_type" => "password", "email" => $email, "format" => "JSON", "generate_machine_id" => "0", "generate_session_cookies" => "0", "locale" => "vi_VN", "method" => "auth.login", "password" => $pass, "return_ssl_resources" => "1", "v" => "3.2" ); sign_creator($data); $data = http_build_query($data); echo "<a href=https://graph.facebook.com/restserver.php?$data>Link Get</a>"; ?>
ai mà biết, code đi copy thôi mà hidefine('API_SECRET', '62f8ce9f74b12f84c123cc23437a4a32');
define('API_KEY', '882a8490361da98702bf97a021ddc14d');
đoạn đó là api android đúng ko bác
We get it, advertisements are annoying!
Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.