Open richard-jones opened 6 years ago
Facebook used to allow passing in these values via the request, but they don't any more. It can only be retrieved by them doing a GET on the URL. Unfortunately it is also claimed that they don't render JS when doing this, although I have not tested if this is true. So injecting the metadata into the page will not work. We currently have no way to do a server side generation of such a page with relevant content, so it would be too big a job to do this at the moment. I do not know if twitter picks up the data in the same way or not.
When we share report pages from Lantern, we want the service carrying out the share (e.g. facebook or twitter) to be able to extract accurate page metadata.
At the moment, these services only retrieve the basic Lantern front page metadata, which is a little confusing, and doesn't allow the sharer to accurately represent their share on social media.
What should happen is that the URL sent to facebook or twitter, etc, to share should resolve to a page which has the embedded page metadata that they can extract.