We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 651ab0c + 78ff05e commit 512a173Copy full SHA for 512a173
src/Adapters/Facebook/OEmbed.php
@@ -53,9 +53,12 @@ private function getEndpointByPath(string $path): string
53
https://www.facebook.com/media/set?set={set-id}
54
https://www.facebook.com/questions/{question-id}
55
https://www.facebook.com/notes/{username}/{note-url}/{note-id}
56
+
57
+ Not in the facebook docs:
58
+ https://www.facebook.com/{page-name}/photos/{post-id}/{photo-id}
59
*/
60
if (strpos($path, '/photo.php') === 0
- || strpos($path, '/photos/') === 0
61
+ || strpos($path, '/photos/') !== false
62
|| strpos($path, '/permalink.php') === 0
63
|| strpos($path, '/media/') === 0
64
|| strpos($path, '/questions/') === 0
0 commit comments