Skip to content

jooooel/OpenGraph-Net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGraph-Net

AppVeyor Nuget Nuget License

A simple .net assembly to use to parse Open Graph information from either a URL or an HTML snippet.

Usage

OpenGraph graph = OpenGraph.ParseUrl("http://www.amazon.com/Spaced-Complete-Simon-Pegg/dp/B0019MFY3Q");

You can access each open graph value by passing in arguments to the results. For example: graph["Description"] will return the description.

The required Open Graph properties are available view properties on the OpenGraph object as a convenience.

  • graph.Type
  • graph.Title
  • graph.Image
  • graph.Url

The original url used to generate the OpenGraph data is available from the OriginalUrl property graph.OriginalUrl

About

.Net Open Graph Parser written in CShap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 91.6%
  • Python 8.4%