Skip to content

A small demo - Using the Twitter API to display three columns containing the last 30 tweets from several channels.

Notifications You must be signed in to change notification settings

vandriesh/twitter-aggregator-code-challenge

Repository files navigation

Code challenge #1 - TwitterAggregator

Build Status Coverage Status

Part I:

Use the Twitter API to display three columns containing the last 30 tweets from @MakeSchool, @newsycombinator and @ycombinator. Each tweet should include:

  • The tweet content
  • A well-formatted created_at date
  • A link to the tweet
  • For retweets and mentions, the username should be included.

Part II:

  1. Make an ”edit layout” view that has a form to change the layout settings.
  2. Use LocalStorage to persist and load the layout settings.
  3. Configurable settings could include (you decide; you can pick your own):
    1. The order of the columns.
    2. The time range of the tweets shown.
    3. The number of tweets shown in each column.
    4. The overall palette/skin of the page.
  4. The”edit layout” panel can appear either on the same page as the tweets page, on its own page, or embedded within the tweets layout - whichever you would like. There should be a straightforward way to toggle between edit and view modes, and it should be clear to the user which mode they are currently in.

Part III: Additional Challenges

If you feel inspired, here are more things you can do:

  • Ensure a good responsive experience on mobile phones and tablets
  • Use an interaction (like drag and drop) instead of a form field to order the columns
  • Add another feature you feel is missing from our application
  • Adding unit tests will be great

Backend

Info

  1. Twitter API can be accessed via local proxy:
  1. The proxy server should be already running in the background. If you provided correct credentials for your Twitter API and Twitter Secret Key, you should now be able to use the api as the example below: http://localhost:7890/1.1/statuses/user_timeline.json?count=30&screen_name=makeschool

Build, start and test

This project was generated with ng-cli - so you know what to do

About

A small demo - Using the Twitter API to display three columns containing the last 30 tweets from several channels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •