get-avatar
v0.0.1
Published
Fetch profile picture from different social engines
Downloads
3
Maintainers
Readme
get-avatar
Install
npm install --save get-avatar
Usage
var ga = require('get-avatar')
//...
ga.facebook(user.facebookAccessToken, function(err, url){
if(err)
return next(err)
console.log(url)
})
ga.vkontakte(user.vkontakteAccessToken, function(err, url){
if(err)
return next(err)
console.log(url)
})