Answer the question
In order to leave comments, you need to log in
Different issuance on the site and through the API
Gentlemen, good day. I ran into a problem when the API and the Flickr.com web interface give different results.
Nobody faced such a problem?
Request piece:
$search = $flickr - > photos_search ( array ( 'media' => 'photos' , 'text' => $_POST [ 'tag' ] , 'per_page' => '500' ) ) ;
$photos = array ( ) ;
foreach ( $search [ 'photo' ] as $k => $v ) {
$photos [ ] = array (
"t" $flickr - > buildPhotoURL ( $v, 'thumbnail' ) ,
"o" => $flickr - > buildPhotoURL ( $v, 'medium' )
) ;
}
foreach ( $photos as $ph ) {
echo "<a href='" .$ph [ 'o' ] . "'><img src='" .$ph [ 't' ] . "'style='margin: 3px; display: inline-block;'/></a>" ;
}
Answer the question
In order to leave comments, you need to log in
$flickr is the official wrapper for using the api? Haven't worked with flickr, but it seems to me quite possible to use different search algorithms for different entry points.
PS
I hope this is just an example and you keep html in templates and css in style files =)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question