Wednesday, April 1, 2009

SVN: Revision 9

This is basically a bug-fix revision, though it adds also a new class TCommons to support the method flickr.commons.getInstitutions.

The fixed bugss were:

  • In TFlickrEx.SetSignAll, no assignment was being made to FPrefs.SignAll. It was not a big issue since all the methods in the group flickr.prefs.* are signed anyway.
  • The other bug, however, was an insidious one: {$DEFINE DELPHI} had gone missing, which in turn made Delphi skip DefaultAuthorize at compile-time, thus making impossible to authenticate a user unless you already had a token or assigned a handler to TFlikrEx.OnAuthorize

That and a little source cleanup aside, the most important change in this revision is that the example Uploader is now fully functional, albeit still a little rough and bare. This is it in action:

Rawflickr: Upload example

Uploads seems to be the second most asked quetion, the first being how to authenticate users: this example deals with both.

No comments: