We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$flickr->uploader()->replace('/path/to/photo.jpg', 44333812150);
Should probably go to
/** @var string */ protected $replaceEndpoint = 'https://up.flickr.com/services/replace/';
Instead, it goes to the upload endpoint
/** @var string */ protected $uploadEndpoint = 'https://up.flickr.com/services/upload/';
I think the easiest solution is to add the endpoint to the sendFile call, or to pass a boolean $replace and select the endpoint in sendFile()
public function replace($photoFilename, $photoId, $async = null) { return $this->sendFile($photoFilename, ['photo_id' => $photoId, 'async' => $async]); }
WDYT?
The text was updated successfully, but these errors were encountered:
I think passing $replace to sendFile() sounds sensible. That endpoint isn't needed for anything else is it?
$replace
sendFile()
Sorry, something went wrong.
no, i haven't seen it in use elsewhere.
No branches or pull requests
Should probably go to
Instead, it goes to the upload endpoint
I think the easiest solution is to add the endpoint to the sendFile call, or to pass a boolean $replace and select the endpoint in sendFile()
WDYT?
The text was updated successfully, but these errors were encountered: