You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, first off I want to thank you for creating this fantastic API. Easy methods and great documentation. Thank you sir.
Here is the call I am making
let searchList = FKFlickrPhotosSearch() searchList.per_page = "5" searchList.text = cityNme -> (This can be San Francisco, etc.) FlickrKit.sharedFlickrKit().call(searchList) { (response, err) in dispatch_async(dispatch_get_main_queue(), { () -> Void in if (response != nil) { // Pull out the photo urls from the results let topPhotos = response["photos"] as! [NSObject: AnyObject] let photoArray = topPhotos["photo"] as! [[NSObject: AnyObject]] let topPhoto = photoArray.first let photoURL = FlickrKit.sharedFlickrKit().photoURLForSize(FKPhotoSizeOriginal, fromPhotoDictionary: topPhoto) } }) }
This call for a basic PhotosSearch has consistently given me photos that are no longer available (or so it says after they are loaded).
Some clarification would help on this one. From what I've read, you do not need to have an auth to query for regular photos.
Update: Even on an FKFlickrInterestingnessGetList() call, all photos returned are no longer available.
Any help would be wonderful. Thanks!
The text was updated successfully, but these errors were encountered:
After further examination, It seems that FKPhotoSizeMedium500, as well as a few others return URL's such as https://farm6.static.flickr.com/5577/15070603679_a559ea18a2_.jpg - which returns a invalid photo
This was the cause of the problem.
I used FKPhotoSizeMedium640 and it is working perfectly.
Hey there, first off I want to thank you for creating this fantastic API. Easy methods and great documentation. Thank you sir.
Here is the call I am making
let searchList = FKFlickrPhotosSearch()
searchList.per_page = "5"
searchList.text = cityNme -> (This can be San Francisco, etc.)
FlickrKit.sharedFlickrKit().call(searchList) { (response, err) in
dispatch_async(dispatch_get_main_queue(), { () -> Void in
if (response != nil) {
// Pull out the photo urls from the results
let topPhotos = response["photos"] as! [NSObject: AnyObject]
let photoArray = topPhotos["photo"] as! [[NSObject: AnyObject]]
let topPhoto = photoArray.first
let photoURL = FlickrKit.sharedFlickrKit().photoURLForSize(FKPhotoSizeOriginal, fromPhotoDictionary: topPhoto)
}
})
}
This call for a basic PhotosSearch has consistently given me photos that are no longer available (or so it says after they are loaded).
Some clarification would help on this one. From what I've read, you do not need to have an auth to query for regular photos.
Update: Even on an
FKFlickrInterestingnessGetList()
call, all photos returned are no longer available.Any help would be wonderful. Thanks!
The text was updated successfully, but these errors were encountered: