[openstreetmap-website] Better description and image when posting the link on Facebook or other platforms (#855)

michaelzangl notifications at github.com
Mon Dec 8 17:54:34 UTC 2014

When sharing a link on facebook (or any other social platform that uses previews), you only see the Openstreetmap name and icon.

I explain what I expect with this link:

I would expect an explanation on what is displayed there (like the where-am-i link) and a nice image indicating the position on the map. That way, you can nicely post Links to the osm website.
If you see the first link on a forum post, you just think it is advertisement for a website or a hint to use a map an see for yourself.
If you see the second link, you know that the person only wants to share a position with you, and you have the right expectations on what you will see when clicking the link.

The cost would be a Nominatim lookup when getting any page with a mlat/mlon argument, adding a <link rel="image_src"/> tag to the page and generating a 200px x 200px image when Facebook requests it.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20141208/9533a154/attachment.html>

More information about the rails-dev mailing list