So, I am trying to use facebook API to send photos. Everything works for me, but the problem is that because of our server environment (everything is stored on s3) there is no concept of local file paths, so when I have to do this: 'source' => '@'. realpath ($ FILE_PATH) I can not, because all I have is a URL. I know that it does not work with urls. What can I do better? Saving a photo locally and then deleting it after uploading is an option, but it seems like a terrible waste of bandwidth ....
Scott source
share