3 namespace Drupal\media_entity_instagram;
6 * Defines a wrapper around the Instagram oEmbed call.
8 interface InstagramEmbedFetcherInterface {
11 * Retrieves a instagram post by its shortcode.
13 * @param int $shortcode
14 * The instagram post shortcode.
15 * @param bool $hidecaption
16 * Indicates if the caption should be hidden in the html.
17 * @param bool $maxWidth
18 * Max width of the instagram widget.
21 * The instagram oEmbed information.
23 public function fetchInstagramEmbed($shortcode, $hidecaption = FALSE, $maxWidth = NULL);