lib/routes/social/pinterest.js
function _getUserSocialDetails(){
    return BB
        .bind(this)
        .then(function() {
            return pinterest
                .query()
                .get('me/?fields=id,first_name,last_name,url,username,image&access_token=' + this.params.access_token)
                .request();
        })
        .then(function(res){
            this.socialUserInfo = res[1].data;
        });
}
function _getUserSocialDetails(){
    return BB
        .bind(this)
        .then(function() {
            return pinterest
                .query()
                .get('me/?fields=id,first_name,last_name,url,username,image&access_token=' + this.params.access_token)
                .request();
        })
        .then(function(res){
            this.socialUserInfo = res[1].data;
        });
}
function _getUserSocialDetails ( ) { return BB . bind ( this ) . then ( function ( ) { return pinterest . query ( ) . get ( 'me/?fields=id,first_name,last_name,url,username,image&access_token=' + this . params . access_token ) . request ( ) ; } ) . then ( function ( res ) { this . socialUserInfo = res [ 1 ] . data ; } ) ; }
Pinterest doesn't return any user info back with login. So go get some basic info so we can link the account.
Pinterest doesn t return any user info back with login . So go get some basic info so we can link the account .