The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login. https://developers.facebook.com/docs/php
3.17k
stars
1.95k
forks
source link
[BUG] Cannot upload a video file from remote if the url contains parameters #1190
Open
ThaDaVos opened 4 years ago
When the remote url looks like the following:
https://example.com/some/path/to/videos/filename.mp4?id=1234&test=test
The following line will fail https://github.com/facebookarchive/php-graph-sdk/blob/5.x/src/Facebook/FileUpload/Mimetypes.php#L974 As it will look for a mimetype ofmp4?id=1234&test=test
instead of the expectedmp4