Skip to content

Commit 822efc0

Browse files
committed
Fixed #29
1 parent b87dc94 commit 822efc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Embed/Adapters/Facebook.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,14 @@ private function getId($url)
6060
}
6161

6262
if ($url->getDirectory(1) === 'posts') {
63+
$this->isPost = true;
64+
6365
return $url->getDirectory(2);
6466
}
6567

6668
if ($url->getDirectory(2) === 'posts') {
69+
$this->isPost = true;
70+
6771
return $url->getDirectory(3);
6872
}
6973

0 commit comments

Comments
 (0)