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
25
25
$ queryParameters ['access_token ' ] = $ token ;
26
26
27
27
return $ this ->extractor ->getCrawler ()
28
- ->createUri ($ this ->getEndpoint ($ uri ->getPath ()))
28
+ ->createUri ($ this ->getEndpointByPath ($ uri ->getPath ()))
29
29
->withQuery ($ queryParameters );
30
30
}
31
31
32
- private function getEndpoint (string $ path ): string
32
+ private function getEndpointByPath (string $ path ): string
33
33
{
34
34
/* Videos
35
35
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
26
26
'archive.org ' => Adapters \Archive \Extractor::class,
27
27
'sassmeister.com ' => Adapters \Sassmeister \Extractor::class,
28
28
'facebook.com ' => Adapters \Facebook \Extractor::class,
29
+ 'instagram.com ' => Adapters \Instagram \Extractor::class,
29
30
'imageshack.com ' => Adapters \ImageShack \Extractor::class,
30
31
'imagizer.imageshack.com ' => Adapters \ImageShack \Extractor::class,
31
32
'youtube.com ' => Adapters \Youtube \Extractor::class,
You can’t perform that action at this time.
0 commit comments