4 ms·
Show HN: OpenGraph.io, a simple OpenGraph data parsing API
- primeobsession 12y agoTo add a bit of background, I needed an OpenGraph parser for a personal project so I broke it off into a separate service. The API takes in a URL and returns any OpenGraph data found along with some inferred values based on the HTML content. The main focus for the product was to get the commonly used OG fields so some of the more obscure fields are ignored.
- kolev 12y agoThat's nice, but those who are interested in OGP would also want Schema.org, so, to offer a commercially viable service, I think Schema.org is a must.
- primeobsession 12y agoTo tell you the truth I had never even thought about that but its a good idea. Thanks!
- AznHisoka 12y agoog:url property="something" or og:url nam="something" both works, have you coded for that?
- primeobsession 12y agoI'm not sure if I follow. I'm currently only looking at the value for content attribute for a value. Are you saying that specifically 'nam=...' should work or it should respect any attribute name?
- AznHisoka 12y agoname= should work as well. Just asking because I never coded for that scenario but found a web page that had that, and it's valid
- ranjeetbhatia 12y agoI want to use this service but there is an issue with for tweets you pick the authors picture. I would expect the best picture will be the picture being shared in the tweet. How can I contact you. I do not see any contact on the website.