[openstreetmap/openstreetmap-website] Diary posts should populate Open Graph tags for social sharing (#1361)

Bryan Housel notifications at github.com
Tue Nov 8 14:39:41 UTC 2016


It makes me sad when I try to share a diary post on a social site like Facebook or Twitter, and the site can't automatically fetch the title and highlight image because we don't set the necessary Open Graph tags.

Open Graph debug tool here:
https://developers.facebook.com/tools/debug/sharing/

For example, if I try to share this post:
https://www.openstreetmap.org/user/PlaneMad/diary/39846

I will end up with a generic share item with no image, and the description just talks about OpenStreetMap, not a description of the post that I am trying to share:

<img width="600" alt="screenshot 2016-11-08 09 35 28" src="https://cloud.githubusercontent.com/assets/38784/20103128/b7dfc646-a596-11e6-84cd-565d334a5dcd.png">



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1361
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161108/4a6f1e76/attachment.html>


More information about the rails-dev mailing list