Skip to content

Instantly share code, notes, and snippets.

@dmnlk
Created May 1, 2015 04:12
Show Gist options
  • Select an option

  • Save dmnlk/179470e27ecc23e62798 to your computer and use it in GitHub Desktop.

Select an option

Save dmnlk/179470e27ecc23e62798 to your computer and use it in GitHub Desktop.

Revisions

  1. dmnlk created this gist May 1, 2015.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@

    client.on_timeline_status do |status|
    if status.media?
    status.media.each { |m|
    puts m.media_uri
    }
    end
    end