# Flickr API and Ruby Question

**URL:** <https://www.ruby-forum.com/t/flickr-api-and-ruby-question/99204>\
**Category:** Rails\
**Created:** [July 20, 2006, 11:28pm UTC](https://www.ruby-forum.com/t/flickr-api-and-ruby-question/99204 "2006-07-20T23:28:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hreyaatnh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f17d59/32.png) [@hreyaatnh](https://www.ruby-forum.com/u/hreyaatnh)\
**Post date:** [July 20, 2006, 11:28pm UTC](https://www.ruby-forum.com/t/flickr-api-and-ruby-question/99204/1 "2006-07-20T23:28:42Z")

</div>

I have a local version of the flickr.rb file installed and working  
properly, but apparently I’m having issues installing it on my Dreamhost  
server.

So, does anyone know how to do it the normal way? Just interfacing  
directly with the flickr/api without using the gem ‘flickr.rb’?

Any tips in the right direction would help me tremendously! Thanks!

---

<div class="post-metadata">

**Author:** ![hreyaatnh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f17d59/32.png) [@hreyaatnh](https://www.ruby-forum.com/u/hreyaatnh)\
**Post date:** [July 20, 2006, 11:48pm UTC](https://www.ruby-forum.com/t/flickr-api-and-ruby-question/99204/2 "2006-07-20T23:48:54Z")

</div>

On Jul 20, 2006, at 2:28 PM, ry an wrote:

> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

[http://media.rubyonrails.org/video/flickr-rails-ajax.mov](http://media.rubyonrails.org/video/flickr-rails-ajax.mov)  
I think that’s what you’re looking for.

-Ben L.

---

<div class="post-metadata">

**Author:** ![hreyaatnh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f17d59/32.png) [@hreyaatnh](https://www.ruby-forum.com/u/hreyaatnh)\
**Post date:** [July 21, 2006, 12:16am UTC](https://www.ruby-forum.com/t/flickr-api-and-ruby-question/99204/3 "2006-07-21T00:16:12Z")

</div>

Ben L. wrote:

> On Jul 20, 2006, at 2:28 PM, ry an wrote:
> 
> > –  
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> > 
> > * * *
> > 
> > Rails mailing list  
> > removed\_email\_address@domain.invalid  
> > [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)
> 
> [http://media.rubyonrails.org/video/flickr-rails-ajax.mov](http://media.rubyonrails.org/video/flickr-rails-ajax.mov)  
> I think that’s what you’re looking for.
> 
> -Ben L.

Actually, that’s what I did. The problem is, I can only get it working  
locally, because I am unable to install the flickr.rb gem on my server  
on-line.

I was wanting to just try and do it the old fashioned way, without using  
a pre-built flickr.rb library.

Thanks, though!

---

<div class="post-metadata">

**Author:** ![hreyaatnh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f17d59/32.png) [@hreyaatnh](https://www.ruby-forum.com/u/hreyaatnh)\
**Post date:** [July 21, 2006, 11:19pm UTC](https://www.ruby-forum.com/t/flickr-api-and-ruby-question/99204/4 "2006-07-21T23:19:55Z")

</div>

ry an wrote:

> Actually, that’s what I did. The problem is, I can only get  
> it working locally, because I am unable to install the  
> flickr.rb gem on my server on-line.

Throw it in RAILS\_ROOT/lib, then “require ‘flickr’” in  
environment.rb.

Note that if you want to get to anything other than public  
photos, you’ll need to use something that understands Flickr’s  
new authentication scheme, like rflickr.

-Drew
