var Intercom = require('intercom-client');
const client = new Intercom.Client({ token: my_token});
client.users.list(function (err, d) {
// err is an error response object, or null
// d is a successful response object, or null
try{
console.log('success')
}catch(err){
console.error(err)
}
});
I need to fetch the users data from intercom to my server. I fellow the instruction https://github.com/intercom/intercom-node.But I don't know if I connect my workspace or not. And the second snap only return d as null.