The place to discuss how to make 23 work in special ways with the 23 api

phpFlickr -> php23

IkoTikashi   September 28, 2007, 07:32 AM

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.
[...]

 
Steffen Fagerström Christensen Team 23   September 28, 2007, 07:37 AM

Yeah,

I did read that. We do have *very* experimental php serialized support. I'll try to give phpflickr 2 a whirl today and see if I can make sense with it...

/Stc

 
Philipp Mertens   January 06, 2008, 09:25 AM

Any news on php23?

 
Steffen Fagerström Christensen Team 23   June 07, 2008, 06:58 PM

We'll be launching a version of the flickr api, which officially supports both json and php_serial next week. I've done a few tests with a search-replace'd version of phpFlickr, and it seems to work week.

Of course, the first version may contain bugs, since neither json or serialized php is support by our platform -- so please report any problems you may have.

 




About 23

About 23
What is 23 and who's behind the service?
Just In
Discover the world from a different angle.
Here's a crop of the latest photos from the around the world.
Search
Search photos from users using 23
Help / Discussion
Get help or share your ideas to make 23 better
23 Blog / 23 on Twitter
Messages and observations from Team 23
Terms of use
What can 23 be used for and what isn't allowed
More services from 23
We also help people use photo sharing in their professional lives
RSS Feed
Subscribe to these photos in an RSS reader
  • Basque (ES)
  • Bulgarian (BG)
  • Chinese (CN)
  • Chinese (TW)
  • Danish (DK)
  • Dutch (NL)
  • English (US)
  • French (FR)
  • Galician (ES)
  • German (DE)
  • Italian (IT)
  • Norwegian (NO)
  • Polish (PL)
  • Portuguese (PT)
  • Russian (RU)
  • Spanish (ES)
  • Swedish (SE)

Popular photos right now