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

Google avatar not working #3

Open
ramesharr opened this issue Aug 3, 2018 · 2 comments
Open

Google avatar not working #3

ramesharr opened this issue Aug 3, 2018 · 2 comments

Comments

@ramesharr
Copy link

fetchGoogleAvatar method returning null

@ferreiro
Copy link
Owner

@ramesharr Hi there, thanks for reporting this! Would you mind to provide me an example of how are you calling fetchAvatar method so I can debug it locally?

@lovestaco
Copy link

lovestaco commented Jul 12, 2024

Same.

I could get the gravatar but not the google.

var avatarMe = require('avatar-me');

avatarMe.fetchAvatar('[email protected]', 'Athreya', (err, avatar) => {
  if (err) console.log(err);
  console.log('avatar-> ', avatar);
});
lovestaco@i3nux-mint:~/av$ node index.js 
true
true
(node:1058982) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
avatar->  /static/images/avatar_tiles/v1/a.png

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

3 participants