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

image urls

poroto20   July 03, 2008, 12:09 PM

I' m adding 23hq support to a Flickr API.
I have this problem. The url of a picture in 23hq is for example
http://www.23hq.com/23666/3242918_07beb7f705ed0055ab8bd8e34f677e39.jpg

and not

http://www.23hq.com/23666/3242918_07beb7f705ed0055ab8bd8e34f677e39_o.jpg

So all the URLs I'm using against Flickr will need to be changed.

How can I solved this?

 
IkoTikashi   July 03, 2008, 01:12 PM

Add "_o" to the filename?! :) Only joking, which language is that API for?! See if there's a function like "buildurl" or something similar, where the filename is being assembled, and change that function accordingly.

 
IkoTikashi   July 03, 2008, 01:13 PM

Remove "_o" I mean :]

 
poroto20   July 03, 2008, 02:44 PM

Yes it works if I remove "_o".

But it is not similar than flickr!

 
Steffen Fagerström Christensen Team 23   July 06, 2008, 03:31 PM

Hey poroto20,

The discrepancy stems from how 23 does original photos: in many cases users choose not to let others access their originals. This is why originals are handled somewhat differently at 23.

You'll be able to get all available urls via photos.getSizes

Also, we'll probably be open to altering the behaviour; or current approach is not perfect.

As always: Which kind of project are you doing with the api?

 




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