OpenGraph Metadata
revi opened this issue · comments
When POSSE-ing my posts to FB (or for that matter, Twitter as well) - when I share post-only pages, following preview shows up - which is not that bad because you're supposed to browse to the URL to read it...
But when sharing images (example here), it's pretty desirable that the image shows up as a preview (so I can avoid providing more metadata than I need) - but it doesn't provide one (FB constructs one on the go but Twitter shows nothing). While FB can do their own inferences, Twitter doesn't do that - and I share posts in both places, so if something needs to done to make it more... colorful, it's going to be OpenGraph because when Twitter cannot find their own Twitter Cards specs, they'll fall back to OpenGraph so there's just one tag to implement.
Image | From... |
---|---|
![]() |
|
![]() |
I've added og:site_name
, og:type
(which is always article
; this could probably be refined in some way), og:title
, og:url
, og:image
(this probably needs extra tags, about type and size etc.), and multiple og:tag
.