Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can anyone confirm getIcon still works? If so, can someone supply a working example? #13

Open
1hitsong opened this issue May 28, 2014 · 0 comments

Comments

@1hitsong
Copy link

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:\DOCUME1\ADMINI1\LOCALS1\Temp\nw3612_7201\node_modules\oscar\oscar.js:2583:50)
at eval
(C:\DOCUME
1\ADMINI1\LOCALS1\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);
});
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant