Get HTML for a Video

Gets the OEmbed HTML for a Vine video.

Entity: Vine
Type: VineType.OEmbed
Parameters/Filters:
Name Purpose Type Required
ID ID of vine to query string only if Url is empty
Url Url of vine to query string only if ID is empty
MaxWidth Maximum width of script int no
MaxHeight Maximum height of script int no
OmitScript Don't include script bool no

Note: You must provide either ID or Url.
v3.x Example:
            var vineResponse =
                await
                (from vine in twitterCtx.Vine
                 where vine.Type == VineType.Oembed &&
                       vine.Url == "https://vine.co/v/Ml16lZVTTxe"
                 select vine)
                .SingleOrDefaultAsync();

            Console.WriteLine("\nOembed HTML:\n\n" + vineResponse.Html);

Twitter API: vine/oembed

Last edited Nov 24, 2014 at 6:30 AM by JoeMayo, version 5