1 year ago

Filesystem fails on absolute path. FILE DOES NOT EXIST.

Posted 1 year ago by RushVan

I am using thujohn/twitter which is great. However, I am trying to access image files that are stored on AWS. I am doing this;

                $image = '';
               $id_uploaded_media = Twitter::uploadMedia(['media' => File::get($image), 
               'media_category' => 'tweet_image']);

This fails in Filesystem.php at line 40 indicating the FILE DOES NOT EXIST. It does. I have used this same package to post images from the project itself with no issue. Does this relate to local Storage facade? Or is it something else?


Please sign in or create an account to participate in this conversation.