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.
1 parent 59516a7 commit aef35d0Copy full SHA for aef35d0
src/Adapters/Instagram/OEmbed.php
@@ -19,6 +19,10 @@ protected function detectEndpoint(): ?UriInterface
19
}
20
21
$uri = $this->extractor->getUri();
22
+ if (strpos($uri->getPath(), 'login') !== false) {
23
+ $uri = $this->extractor->getRequest()->getUri();
24
+ }
25
+
26
$queryParameters = $this->getOembedQueryParameters((string) $uri);
27
$queryParameters['access_token'] = $token;
28
0 commit comments