Sinatra Twitter

The ability to view tweets and link to tweets works, but I can't get the image and search functionality to work. The logic seems okay (I think) so I'm not sure what's going on here...