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.
March 9th, 2007 at 00:26
Hi! I’ve downloaded this API and I want to know where can I found the PhotoSearch.app source code.
March 9th, 2007 at 01:16
Hi,
source code of PhotoSearch.app can be checked out along with OF’s source at http://code.google.com/p/objectiveflickr/source .
May 16th, 2007 at 15:21
[…] 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 […]
August 14th, 2007 at 07:35
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
December 14th, 2007 at 18:35
Hello!
I want to know whether I can use this API in linux.
Thanks!
February 13th, 2008 at 11:44
Very cool API, works like a charm, many thanks guys!
September 22nd, 2008 at 00:55
Hi there are tutorials or sample code available? My interest in using the framework to download photos with tags and then get the photos passed into quartz composer along with some attributes based on the tags.
Thanks!
Manjit