File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ protected function detectEndpoint(): ?UriInterface
2525 $ queryParameters ['access_token ' ] = $ token ;
2626
2727 return $ this ->extractor ->getCrawler ()
28- ->createUri ($ this ->getEndpoint ($ uri ->getPath ()))
28+ ->createUri ($ this ->getEndpointByPath ($ uri ->getPath ()))
2929 ->withQuery ($ queryParameters );
3030 }
3131
32- private function getEndpoint (string $ path ): string
32+ private function getEndpointByPath (string $ path ): string
3333 {
3434 /* Videos
3535 https://www.facebook.com/{page-name}/videos/{video-id}/
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class ExtractorFactory
2626 'archive.org ' => Adapters \Archive \Extractor::class,
2727 'sassmeister.com ' => Adapters \Sassmeister \Extractor::class,
2828 'facebook.com ' => Adapters \Facebook \Extractor::class,
29+ 'instagram.com ' => Adapters \Instagram \Extractor::class,
2930 'imageshack.com ' => Adapters \ImageShack \Extractor::class,
3031 'imagizer.imageshack.com ' => Adapters \ImageShack \Extractor::class,
3132 'youtube.com ' => Adapters \Youtube \Extractor::class,
You can’t perform that action at this time.
0 commit comments