I'm using PHPFlickr's sync_upload
method to upload photo to my Flickr photostream. Here's my code so far.
$f = new phpFlickr(xxxyyyzzz, zzzyyyxxx, true);
$f->setToken(aaabbbccc-dddeeefff);
$f->sync_upload($path, "Nondescript description");
$photoID = $f->response; //ID of the uploaded photo
$test = $f->photos_getInfo($photoID);
print_r($test);
After upload, I am able to get the ID of the photo. $f->response
would return the ID of the photo.
However, when I use the ID to get the info of the photo I have uploaded, it would return the following error message:
The Flickr API returned the following error: #1 - Photo not found
Is there a way I can get info of the photos I have uploaded immediately after I have uploaded them?