Skip to content
.Net Open Graph Parser written in CShap
Branch: master
Clone or download
Pull request Compare This branch is 154 commits behind ghorsey:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
src
.gitignore
LICENSE
README.md

README.md

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

You can’t perform that action at this time.