node-oscar
node-oscar copied to clipboard
Can anyone confirm getIcon still works? If so, can someone supply a working example?
No matter what I try all I get returned is undefined for both datetime and data when I use aim.me.icon
When using aim.getIcon I get a node.js error:
TypeError: Cannot read property 'users' of undefined at OscarConnection._downloadIcons (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nw3612_7201\node_modules\oscar\oscar.js:2583:50) at eval (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nw3612_7201\node_modules\oscar\oscar.js:559:41) at process._tickCallback (node.js:534:11)
My function is: aim.on('contactonline', function(user) { aim.getIcon(user, function(error, data, size){ console.log(size); }); });