Discussion Forums  >  Uncategorized

Replies: 4    Views: 249

gotfox
buzztouch Evangelist
Profile
Posts: 146
Reg: Feb 05, 2011
Las Vegas
8,460
05/22/11 03:41 PM (14 years ago)

New Flickr bugs

David, Two things that I've come across with the latest build: 1. When trying to use a photoset for the Image Gallery from the Flickr API, you get a parse error. It seems that the reason for that is they use photoset instead of photos in the JSON string. Which looking at the BT_screen_images.m file, you are only looking for the photos designation which in turn rejects the data. I'm not savvy enough to figure out how to put an OR/ELSE IF statement in there without having to recreate the entire IF block. And searching through all of the getPhotos API functions, it seems that the photosets is the only different output. Also, a thing of note is that they've introduced a new output method labeled as JSONP which adds the string &nojsoncallback=1 to the end of the URL which removes the jsonFlickrApi from the beginning of the JSON output. 2. With the new title display option, when a gallery is put to randomize, it looks like the titles don't follow the photo they are actually from. It looks like they are in order from 1 to xx. I've only noticed this on a Flickr stream so not certain if this happens with a regular gallery or not. That's all I have. Cheers!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/23/11 12:52 AM (14 years ago)
Post the URL you're using for the Flickr feed so we can see the data. There are tons and tons of ways to configure the feeds when you're building the URL. Like you mentioned, the BT_screen_images.m file shows exactly what data points in the JSON it's looking for. Random Flickr titles: Good catch! Fixed, download server has new BT_screen_images file. Change log has new entry.
 
gotfox
buzztouch Evangelist
Profile
Posts: 146
Reg: Feb 05, 2011
Las Vegas
8,460
like
05/23/11 08:57 AM (14 years ago)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/23/11 10:18 PM (14 years ago)
Fixed. photoset or photos is now supported (required re-download). The JSON still needs to begin with jsonFlickrApi. Not sure if your comment from above meant that ALL the feeds would eventually drop this or if it's up to the person building the URL. If the later case, just don't set that parameter in the querystring to remove the callback. In the previous case, where Flickr control this, we'll need to adjust more. The URL you provided works nicely now. Great find!
 
AlmaR
Lost but trying
Profile
Posts: 73
Reg: Jun 13, 2011
location unknow...
5,630
like
06/15/11 10:52 AM (14 years ago)
This was really useful, thanks guy. I used Phaques´code to posted my Flickr Sets. New sets work 100% but in the old ones no photos or some photos are not showing it says this photo is currently unavailable. They are working fine from Flickr´s web, I guess I will wait and if not re-upload them to F.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.