You are here

public function Facebook::getRemoteThumbnailUrl in Video Embed Facebook 8

File

src/Plugin/video_embed_field/Provider/Facebook.php, line 38

Class

Facebook
Plugin annotation @VideoEmbedProvider( id = "facebook", title = @Translation("Facebook") )

Namespace

Drupal\video_embed_facebook\Plugin\video_embed_field\Provider

Code

public function getRemoteThumbnailUrl() {
  return sprintf('https://graph.facebook.com/%d/picture', $this
    ->getVideoId());
}