Skip to content

Gets last 5 tweets, number of tweets, following and followers given a Twitter username.

Notifications You must be signed in to change notification settings

bkbooth/TwitterProfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Profile

Gets last 5 tweets, number of tweets, following and followers given a Twitter username.

This is a coding test for a prospective employer.

Brief

Write a program that accepts a Twitter username as input, and returns the last 5 tweets, plus number of Tweets, Following, and Followers for that Twitter username.

Notes

'@' character before username is optional, both with and without it works.

You'll need to modify config.js to set config.consumer_key and config.consumer_secret with a valid Twitter API Consumer Key and Consumer Secret.

There are some external dependencies, so you'll need to $ npm install first.

This program will runs in a Node.js environment. Simply run $ node twitter username (eg. $ node twitter @bkbooth11). Run $ node twitter --help to see usage instructions.

About

Gets last 5 tweets, number of tweets, following and followers given a Twitter username.

Resources

Stars

Watchers

Forks

Packages

No packages published