13MIRROR, MIRROR: THE SOCIAL MEDIA STATUS MIRROR

IN THIS CHAPTER, YOU’LL CREATE A SOCIAL MEDIA STATUS MIRROR, A MODERN-DAY TWIST ON THE CLASSIC “MIRROR, MIRROR ON THE WALL” FROM THE SNOW WHITE FAIRYTALE. IMAGINE THAT YOU’RE GETTING READY TO GO OUT AND WANT TO KNOW WHAT YOUR FRIENDS ARE POSTING ONLINE. OR MAYBE YOUR FAVORITE TEAM IS PLAYING, AND YOU WANT TO FOLLOW ALL THE ACTION WHILE YOU GET READY IN THE MORNING.

The social media status mirror can help in either situation. All you have to do is enter a keyword in the Python program. Then, whenever a tweet containing the keyword appears in your social media timeline, an array of LEDs will flash several times before the mirror reads you the tweet. The LEDs inform you of incoming messages. If you ...

Get Raspberry Pi Projects for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.