SHARE
TWEET

Untitled

a guest Jul 16th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. hello.init({
  2.        xxxxxxxxxxxxxxxxxxxxxxxxx
  3.     },{ scope: 'email', redirect_uri: RacineSite() });
  4.  
  5.  
  6.     hello(type).login({ scope: 'email' });
  7.  
  8.     hello.on('auth.login', function (auth) {
  9.         if (type == auth.network) {
  10.             hello(type).api('me').then(function (json) {
  11.                 alert('Your name is ' + json.email);
  12.             }, function (e) {
  13.                 alert('Whoops! ' + e.error.message);
  14.             });
  15.         }
  16.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top