Chào mừ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!
  • Chào Khách,
    Bạn cần liên hệ với admin ??? ZALO & TELEGRAM

Share share code get token bằng f12

Tham gia
1/11/18
Bài viết
108
Lượt Thích
24
Coins
1,000
share code get token bằng f12
JavaScript:
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);
 
Sửa lần cuối:

Rio

DienDanIT 2018
Tham gia
7/11/18
Bài viết
178
Lượt Thích
33
Coins
1,000
get token iOS hay Android vậy bạn
 

Bài mới nhất

Top Bottom
AdBlock Detected

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.

I've Disabled AdBlock
No Thanks