Welcome to Ask Super Outlet!
會員登入/申請
Toggle navigation
產品資訊
獨家團購
獨家團購
智能電話
智能電話
電話配件
平版電腦
平版電腦
電子產品
行動電源
藍芽喇叭
智能手錶
儲存裝置
電腦配件
藍芽耳機
錄音筆
運動攝影機
小型家庭電器
監視鏡頭
電暖墊
抽濕機
空氣清新機
熨斗
風扇
拖板
防潮箱
暖風機
捕蚊器
其他小型家庭電器
燈
收音機
家居無線電話
吸塵機
廚房電器
電火鍋
空氣炸鍋
電磁爐
電熱水壺
麵包機
淨水器
咖啡機
攪拌機
電飯煲
燉盅
焗爐
其他廚房用具
電陶爐
保溫杯
個人護理產品
血壓計
身體護理
鬚刨
理髮器
脫毛機
直髮器
風筒
耳溫計
電動牙刷
面部按摩
媒體廣告
分店地址
銅鑼灣分店
太子分店
深水埗分店
九龍灣分店
元朗分店
荃灣分店
聯絡我們
0
你尚未加入產品到購物車
// This is called with the results from from FB.getLoginStatus(). function statusChangeCallback(response) { //console.log('statusChangeCallback'); //console.log(response); // The response object is returned with a status field that lets the // app know the current login status of the person. // Full docs on the response object can be found in the documentation // for FB.getLoginStatus(). if (response.status === 'connected') { // Logged into your app and Facebook. LoginReg(); } else if (response.status === 'not_authorized') { // The person is logged into Facebook, but not your app. // document.getElementById('status').innerHTML = 'Please log ' + // 'into this app.'; } else { // The person is not logged into Facebook, so we're not sure if // they are logged into this app or not. // document.getElementById('status').innerHTML = 'Please log ' + // 'into Facebook.'; } } // This function is called when someone finishes with the Login // Button. See the onlogin handler attached to it in the sample // code below. function checkLoginState() { FB.getLoginStatus(function(response) { statusChangeCallback(response); }); } window.fbAsyncInit = function() { FB.init({ appId : '', cookie : true, // enable cookies to allow the server to access // the session xfbml : true, // parse social plugins on this page version : 'v2.5' // use version 2.1 }); // Now that we've initialized the JavaScript SDK, we call // FB.getLoginStatus(). This function gets the state of the // person visiting this page and can return one of three states to // the callback you provide. They can be: // // 1. Logged into your app ('connected') // 2. Logged into Facebook, but not your app ('not_authorized') // 3. Not logged into Facebook and can't tell if they are logged into // your app or not. // // These three cases are handled in the callback function. /* FB.getLoginStatus(function(response) { statusChangeCallback(response); }); */ }; // Load the SDK asynchronously (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); // Here we run a very simple test of the Graph API after login is // successful. See statusChangeCallback() for when this call is made. function LoginReg() { //console.log('Welcome! Fetching your information.... '); FB.api('/me', function(response) { //console.log(response); $.post("/fb_post", response ).done(function(){ window.location.replace("/?msg=login"); }); //console.log('Successful login for: ' + response.name); //document.getElementById('status').innerHTML = //'Thanks for logging in, ' + response.name + '!'; }); }
會員登入
已經是我們的用戶?
登入名稱
密碼
用戶登入
忘記密碼
|
重發驗證電郵
還沒有用戶帳號?
免費登記成為用戶, 我們為閣下提供最優惠的折扣及消息
免費登記
×
忘記密碼
請輸入電郵地址
電郵地址
驗證碼
送出