ArkeologeN / node-linkedin

LinkedIn 2.0 wrapper in Node.js
MIT License
163 stars 78 forks source link

Custom field selector support #9

Closed ArkeologeN closed 10 years ago

ArkeologeN commented 10 years ago

As a user, I must be able to pass out the array of fields selector that will override the one from code and will only query the provided fields in profile. e.g

linkedin.people.me(['id', 'first-name', 'last-name'],function(err, $in) {
    // Loads the profile of access token owner.
});
ArkeologeN commented 10 years ago

Added in v2.x: https://github.com/Kuew/node-linkedin/commit/fe3cdbd7c0d8f238388892f5bc550df65a1435d9