Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
¿Cómo puedo simplemente extraer los últimos 10 tweets del mismo usuario en javascript?

Estoy tratando de usar la API de Twitter para obtener los 10 últimos tweets de un usuario en javascript. Hay muchos recursos por ahí que parecen demasiado complicados. Creé una cuenta de desarrollador de Twitter con clave api + secreto. ¿Existe un método simple para devolver el formato JSON de tweet?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

var Twitter = require('twitter'); var client = new Twitter({ consumer_key: '', consumer_secret: '', access_token_key: '', access_token_secret: '' }); var params = {screen_name: 'nodejs' , count: 5}; client.get('statuses/user_timeline', params, function(error, tweets, response) { if (!error) { console.log(tweets); } });
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!