Beit-Hatfutsot / dbs-front

Frontend code for http://dbs.bh.org.il
GNU Affero General Public License v3.0
10 stars 13 forks source link

Optimize Facebook sharing #328

Closed TheGrandVizier closed 7 years ago

TheGrandVizier commented 7 years ago

Currently the facebook sharing of an item page shares an undesigned and unoptimized post which does not show anything or indicate anything about it's content using preview.

nuritgazit commented 7 years ago

@daonb aren't we paying for a service in order to avoid just what @TheGrandVizier is describing?

OriHoch commented 7 years ago

@TheGrandVizier - please add some details:

nuritgazit commented 7 years ago

@daonb ?

daonb commented 7 years ago

We are paying for prerender.io to do it. It seems to be working for me: In facebook I pasted the address of our paris page and that's what I got: sharing_paris

TheGrandVizier commented 7 years ago

The problem exists only on test apparently. On prod, the sharing trools work correctly. On test, this is what happens: http://prntscr.com/en0jcq Top is test, bottom is prod.

daonb commented 7 years ago

That's because wqe don't pay prerender to prepare the pages on the test server.

TheGrandVizier commented 7 years ago

Ok. Considering fixed.