Skip to content

Small Sinatra application that lists photos from flickr (you need to provide your api key), and lets you twit this photos on twitter (you need to provide your twitter login and password) using twitpic.

alx/flickr-downloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flickr TwitPic

Small Sinatra application that lists photos from flickr (you need to provide your api key), and lets you twit this photos on twitter (you need to provide your twitter login and password) using twitpic.

Why?

Because I'll use it this weekend (27/12/2008 - 30/12/2008) to follow https://events.ccc.de/congress/2008/ conference, and it could serve to follow other events too.

How to use

Just clone the repo, and add a config/config.yml (see config/config.sample.yml for an extremely easy example). Then run ruby flickr-twit.rb, and you're done! For an easy way to deploy Sinatra apps to production, cschneid has a great blog post about setting up thin with Sinatra.

Example

Check out http://twitter.com/25c3_flickr for a running example of this app.

Warning

This is mostly a proof-of-concept, which just happens to work perfectly fine for me. If your photos are not publicly accesible, or you don't allow anonymous users to download the "Original" sized pics from your account, then this might not work.

But hey, it's open source ;)

License

(The MIT License)

Copyright (c) 2008 Nicolás Sanguinetti. Copyright (c) 2008 Alexandre Girard.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Small Sinatra application that lists photos from flickr (you need to provide your api key), and lets you twit this photos on twitter (you need to provide your twitter login and password) using twitpic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.9%
  • Ruby 8.1%