lib/index.js
function getUserProfile(callback) {
    if (_.isUndefined(callback)) {
    } else {
      var u = baseUrl + "/me";
      var tokenData = this.getAuthToken();
      if (tokenData.type != "bearer") {
        throw new Error("Invalid token type. Must use a token of type bearer.");
      }
      return helper.get(tokenData, u, callback);
    }
  }
function getUserProfile(callback) {
    if (_.isUndefined(callback)) {
    } else {
      var u = baseUrl + "/me";
      var tokenData = this.getAuthToken();
      if (tokenData.type != "bearer") {
        throw new Error("Invalid token type. Must use a token of type bearer.");
      }
      return helper.get(tokenData, u, callback);
    }
  }
function getUserProfile ( callback ) { if ( _ . isUndefined ( callback ) ) { } else { var u = baseUrl + "/me" ; var tokenData = this . getAuthToken ( ) ; if ( tokenData . type != "bearer" ) { throw new Error ( "Invalid token type. Must use a token of type bearer." ) ; } return helper . get ( tokenData , u , callback ) ; } }
getMe Get the currently logged in user profile.

@param Function A callback function which takes two parameters
getMe Get the currently logged in user profile .