Speed up development with full-stack environments for every branch.

Learn More

Get Friends with Twitter

586 Runs 2118 Views 420 Copies


sundip 66

published 5 years ago


Get friends with Twitter

A code example written in node.js that displays the profile pictures of 5 Twitter friends from the provided screenname. This code example makes use of the following:

  • express - a web framework module used to serve up static content and handle routes

  • request - a HTTP request client module used to make calls to Twitter's API

  • qs - a querystring parser used to encode JSON to querystring parameters

Project contents

  • server.js - contains the node.js code used to retrieve and display the first 5 friends from Twitter

  • styles.css - stylesheet used to format the outputted html

  • package.json - holds various metadata relevant to the project such as identifying dependencies

Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).