Answer the question
In order to leave comments, you need to log in
How to get a list of Twitter friends?
I use the package (gspade, how is it in Russian? package) twit.
The code
bot.get('friends/list', {screen_name: 'putin'}, function(err, data, response) {
if(err) {
console.log(err)
} else {
data.users.forEach(function(user) {
console.log(user.name)
})
}
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question