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 59516a7 + aef35d0 commit 5c402fcCopy full SHA for 5c402fc
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