-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add File class #681
New issue
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
Comments
Hi @abraham, First a great THANK YOU for this lib!!! I encountered the problem when I used it for file upload but in my case it could have been solved by not performing the is_readable check here: My use case is I use a URL as path and file_get_contents works fine but the is_readable check make it fail before this. I'm curious, why is this check needed? Best, J-L |
-To fill a need for conversion of media URLs to base64 (negating the need for storing the media prior to uploading) -Added public function `shipit` that privately calls to -Added private function `uploadMediaNotStored`
-To fill a need for conversion of media URLs to base64 (negating the need for storing the media prior to uploading) -Added public function `shipit` that privately calls to -Added private function `uploadMediaNotStored`
TwitterOAuth is in maintenance mode and major improvements are no longer planned. #1188 |
Add a
File
class that handles getting file data for media uploads. TheFile
class will handle getting the file data from a variety of sources (disk, URL, base64, etc) and make sure it's in the needed format for upload.The text was updated successfully, but these errors were encountered: