codingdavinci / codingdavinci.de

First website of Coding da Vinci (launched in early 2014).
11 stars 18 forks source link

Facebook (and other link) optimizations #19

Open philippgeisler opened 8 years ago

philippgeisler commented 8 years ago

Linking to codingdavinci.de or a subsite thereof on Facebook does show the incorrect image, apparently the OKF-Logo, as it is the most prominent picture in FB's eyes. The CDV-(Nord)-Logo is skipped probably because it is implemented as CSS background parameter. This is highly… unattractive – and misleading. This does possibly happen in other social media providing article previews as well. It does seem to work decently on news.

There might be workarounds for this or FB-specific tags, I am looking into this.

ffalt commented 8 years ago

There are no meta tags (open graph) in the html header, which Facebook uses for that feature. Same with Twitter Cards, see okfde layout how to use that with jekyll. Edit: Testing can be done at https://cards-dev.twitter.com/validator and https://developers.facebook.com/tools/debug/