Skip to content

Quickly hacked long-polling TELEGRAM BOT to allow interaction with our huge FLICKR library directly from the group chat.

Notifications You must be signed in to change notification settings

pelf/flickr-telegram-bot

Repository files navigation

Start by caching the photos locally (in Redis). This saves requests and speeds up response times:

$ ruby cache_photos.rb

To run the bot that responds to commands:

# set "mode" to "live" to use live credentials or leave it out to use test credentials
$ ruby run_bot.rb [mode]

To run the "time hop" service:

# set "mode" to "live" to use live credentials or leave it out to use test credentials
$ ruby timehop_bot_service.rb [mode]

About

Quickly hacked long-polling TELEGRAM BOT to allow interaction with our huge FLICKR library directly from the group chat.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages