Open Rashmi91 opened 7 years ago
Hi,
I've the same problem and I've fixed it by changing the photo parameters of the $args array.
Instead of
$parameters['photo'] = '@' . $photo['tmp_name'];
use
$parameters['photo'] = new CURLFile($photo['tmp_name']);
Hope this help!
Thanks for posting this comment as I was about to give up on the library before I saw this.
Hi @dopiaza ,
I have used the same code for upload and flickr. but the error pops up saying oauth_problem=signature_invalid. My base string and string returned are also same. Here is the response returned when upload.php is executed. &debug_sbs=POST&https%3A%2F%2Fup.flickr.com%2Fservices%2Fupload%2F&oauth_consumer_key%3Db81ffb68a59859ff286ccae322ca1e75%26oauth_nonce%3Dc01e3dd11c8cc7a114bce7a9e16deba4%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1483338927%26oauth_token%3D72157678382075066-dde078f3080c848c%26oauth_version%3D1.0%26photo%3D%2540%252Ftmp%252Fphp6A8M5M%26tags%3DDPZFlickr%26title%3Dtatoo.
Any help is appreciated.