Hello, I don't know if this has been stated somewhere else, but I just read the documentation for phpFlickr, where it says:
[...]
3. NOTE: phpFlickr's support of 23's API is only supported in 1.x versions of phpFlickr. This will not work in 2.x until they begin using serialized PHP. Don't even try!
As of phpFlickr version 1.5, I've decided to add support for 23's API. The reasoning behind this is that 23 (a European-based photo sharing community) has released an API based on Flickr's. Their main reason for doing so seems to be compatibility for developers. This means that your app may instantly start working for their users as well.
All you'll need to do to get phpFlickr to work with 23 is to use the following code:
$f = new phpFlickr("[api key]"); //With 23's API, you can make up your own API key or use one assigned to you from Flickr
$f->setService("23");
To change back to flickr (the default setting):
$f->setService("flickr");
I'm including this support with a few caveats:
-Currently, I'm only willing to support 23 insofar as they duplicate the functionality of Flickr. If they begin to stray, create new methods, or implement their own authentication scheme, I may end support of their API at my discretion.
-There are some differences between the services. Their "square" thumbnail format is larger than Flickr's. Also the photo page URLs have a different format than Flickr's. I haven't used 23 much myself, so there may be other important differences that I don't know about.
-Not all of Flickr's API methods have been implemented by 23. As far as I can tell, they have setup dummy methods that will return empty result sets.
-According to their documentation, 23 does not yet support the "web application" style authentication that Flickr does. This means that your app will not authenticate to 23 as it would to Flickr.
[...]