Fast and extended returns.

Jewelry
Posted in

Lightbox’s Steve Coe Steps Down

Posted in

“After successfully building Lightbox from the initial concept into an established business, Coe has decided to step down as Lightbox CEO,” Johnson explained. “We’ll announce a successor in due course.”

Coe was in charge at Lightbox since its inception in 2018. Prior to Lightbox, Coe spent over two decades De Beers’ industrial diamond division, Element Six. 

De Beers launched Lightbox as a cheaper, fashion alternative to natural diamonds in 2018. 

window.fbAsyncInit = function () {
FB.init({
appId: ‘1430751883855158’,
cookie: true, // This is important, it’s not enabled by default
version: ‘v2.9’,
oauth: true
});
};

(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 = “https://connect.facebook.net/en_US/sdk.js”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));

function checkLoginState() {
FB.getLoginStatus(function (response) {
statusChangeCallback(response);
});
}

// 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.
var uid = response.authResponse.userID;
var accessToken = response.authResponse.accessToken;
$(“#hidUserId”).val(uid);
getName();
} else if (response.status === ‘not_authorized’) {
// The person is logged into Facebook, but not your app.
// alert(‘Please log ‘ + ‘into this app.’);

FB.login(function (response) {

if (response.authResponse) {

var uid = response.authResponse.userID;
var accessToken = response.authResponse.accessToken;
$(“#hidUserId”).val(uid);
getName();
} else {
// not auth / cancelled the login!
}
}, { scope: ‘public_profile,email,user_hometown’ });

} else {
FB.login(function (response) {

if (response.authResponse) {

var uid = response.authResponse.userID;
var accessToken = response.authResponse.accessToken;
$(“#hidUserId”).val(uid);
getName();
}

}, { scope: ‘public_profile,email,user_hometown’ });
}
}

function getName() {

FB.api(‘/me?fields=hometown,name’, function (response) {
alert(JSON.stringify(response));
$(“#txtName”).val(response.name);
// $(“#txtTown”).val(response.hometown.name);
$(“#txtRName”).val(response.name);
$(“#hidType”).val(3);
document.getElementById(“imgBtnSubmitnew”).click();
hideOverlay();
});
}

Leave a Reply

TOP

SHOPPING BAG 0

Wishlist

Login

Password Recovery

Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.

%d bloggers like this: