ObjectiveFlickr 0.9.5 (Objective-C and Ruby) Released

ObjectiveFlickr is a Flickr API library available in two versions, one for Objective-C (hence its name) and one for Ruby.

This is a major update, and finally the Objective-C version catches up with its Ruby counterpart (in terms of version number at least).

The most important change of this version is that it now works with Flickr’s new original photo URL scheme. Original photos on Flickr will have different “secrets”, and API consumers need to give an extra parameter (original_format) when they call methods like flickr.photo.search in order to get that piece of information.

Photo URL helpers in ObjectiveFlickr (both ObjC and Ruby) have been updated to reflect that change.

Other changes in the Objective-C version include bug fixes, some deprecations, and updates in the demo code. Whereas for the Ruby version we now have HTTP POST support.

The Objective-C version is available at its Google Code hosting site.

Whereas the Ruby version is available at RubyForge and can be installed by simply using “gem install objectiveflickr”.

And of course, this blog.

One interesting note for those who try to run the unit tests of the Ruby version: one of the tests actually brakes when trying to ask flickr.test.echo to echo back a string that contains angle brackets (< and >). It turns out that Flickr actually returns sqaure brackets back in this case, and this has only been happening since mid-January. Other than this quirk, everything should work just fine as in all previous versions.

6 Responses to “ObjectiveFlickr 0.9.5 (Objective-C and Ruby) Released”

  1. bittercold Says:

    Hi! I’ve downloaded this API and I want to know where can I found the PhotoSearch.app source code.

  2. lukhnos Says:

    Hi,

    source code of PhotoSearch.app can be checked out along with OF’s source at http://code.google.com/p/objectiveflickr/source .

  3. Black Bird | Blog » Archivio » links for 2007-05-16 Says:

    […] ObjectiveFlickr » Blog Archive » ObjectiveFlickr 0.9.5 (Objective-C and Ruby) Released (tags: ruby flickr objective-c blogs programming) Feed di questo articolo Trackback url […]

  4. Carl Says:

    Hello,
    I have added a method_missing method to your ruby library. For example if we have the following:

    f = FlickrInvocation.new
    res = f.call(”flickr.photos.search”, {:tags => “ror”})

    could be replaced by
    res = f.flickr_photos_search :tags => “ror”

    Just add the following to flickr_invocation.rb:

    def method_missing(m,*a)
    m = m.id2name.gsub!(’_',’.')
    call(m, Hash[*a])
    end

    looks nicer.

    ./Carl

  5. freeeerf Says:

    Hello!
    I want to know whether I can use this API in linux.
    Thanks!

  6. H. Strane Says:

    Very cool API, works like a charm, many thanks guys!

Leave a Reply