Skip to content

sociabble/OpenGraph-Net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 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

Releases

No releases published

Packages

No packages published

Languages

  • C# 93.7%
  • Python 6.3%