OEmbed.Core 2.0.3

dotnet add package OEmbed.Core --version 2.0.3                
NuGet\Install-Package OEmbed.Core -Version 2.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OEmbed.Core" Version="2.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OEmbed.Core --version 2.0.3                
#r "nuget: OEmbed.Core, 2.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OEmbed.Core as a Cake Addin
#addin nuget:?package=OEmbed.Core&version=2.0.3

// Install OEmbed.Core as a Cake Tool
#tool nuget:?package=OEmbed.Core&version=2.0.3                

OEmbed.Core

oembed

C# oEmbed consumer library for .NET Framwork 4.8.1 and .NET (Core) 7/8

NuGet

build dotnet

Supported Providers

  • CodePen.io
  • DailyMotion.com
  • Deezer.com
  • Deviantart.com
  • Facebook.com
  • Flickr.com
  • Giphy.com
  • Gist.GitHub.com
  • Instagram.com
  • Pinterest.com
  • Reddit.com
  • Soundcloud.com
  • Spotify.com
  • Tiktok.com
  • Twitter.com
  • Vimeo.com
  • Youtube.com

Install

via NuGet:

PM> Install-Package OEmbed.Core

DI configuration

services.AddOEmbed();

Usage .NET Core

  • Inject IOEmbed throught constructor injection.
  • Call EmbedAsync().

For example:

// Returns Provider Result of null if provider not found.
var result = await oEmbed.EmbedAsync("url");

Usage .NET Framework

// Returns Provider Result of null if provider not found.
var embed = new OEmbed();

var result = embed.Embed("url");

License

Apache

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Framework net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on OEmbed.Core:

Package Downloads
YAFNET.Core

YAF.NET Core Library.

YAFNET.Web

YAF.NET Web Tag- and Html Helpers and BBCode Extensions.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on OEmbed.Core:

Repository Stars
YAFNET/YAFNET
🌐 YAF.NET - C# ASP.NET Forum
Version Downloads Last updated
2.0.3 372 6/15/2024
2.0.2 546 5/12/2024
2.0.1 855 2/11/2024
2.0.0 1,193 10/7/2023