如何在Facebook护照上获取大大小小的图片资料

时间:2018-08-08 13:54:22

标签: node.js facebook passport.js

我可以分别获得大大小小的Facebook图片资料,但是如何同时获得它们呢?

var fbStrategy = configAuth.facebookAuth;
    fbStrategy.passReqToCallback = true;
    fbStrategy.profileFields = ['id', 'name','photos', 'emails'],
    // fbStrategy.profileFields = ['id', 'name','picture.type(large)', 'emails'],
    passport.use(new FacebookStrategy(fbStrategy,
    function(req, token, refreshToken, profile, done) {

0 个答案:

没有答案