Tweet Media Files with Twit.js

Hannah Davis
InstructorHannah Davis

Share this video with your friends

Send Tweet

In this lesson, we’ll create multiple functions to request, download, and save photos and data from NASA's API, and then have our bot upload these photos to Twitter and post them along with their descriptions. We'll also learn how to tweet videos using a video from NASA’s space archives.

kayelovejoy
kayelovejoy
~ 4 years ago

I am really enjoying this tutorial. Thank you. I am getting an error on 7-media and I couldn't complete this lesson.
Error: options.uri is a required argument (coming from the Request.init)

AJ
AJ
~ 4 years ago

Fix Video 7, it does not play.

Cher
Cher
~ 4 years ago

i'm getting 403 error for lesson 7

Cameron Kalegi
Cameron Kalegi
~ 4 years ago

@kayelovejoy - Once I registered for the NASA API key and added it to my environment variables, I found that re-running source ~/.bash_profile solved the options.uri is a required argument error.