Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hello.init({
- xxxxxxxxxxxxxxxxxxxxxxxxx
- },{ scope: 'email', redirect_uri: RacineSite() });
- hello(type).login({ scope: 'email' });
- hello.on('auth.login', function (auth) {
- if (type == auth.network) {
- hello(type).api('me').then(function (json) {
- alert('Your name is ' + json.email);
- }, function (e) {
- alert('Whoops! ' + e.error.message);
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement