apache / sedona

A cluster computing framework for processing large-scale geospatial data
https://sedona.apache.org/
Apache License 2.0
1.96k stars 692 forks source link

Preview and Generate Open Graph Meta Tags - Missing Image #1328

Open jbampton opened 7 months ago

jbampton commented 7 months ago

Expected behavior

Best to have an image with the link preview.

https://ogp.me/

"To turn your web pages into graph objects, you need to add basic metadata to your page. We've based the initial version of the protocol on RDFa which means that you'll place additional <meta> tags in the <head> of your web page."

Actual behavior

There is no image shown in the link preview

https://www.opengraph.xyz/url/https%3A%2F%2Fsedona.apache.org%2Flatest%2F

Facebook provides the sharing debugger to test with and OGP allows for multiple images. Last I checked you could choose which image to share with your link when sharing links on Facebook.

https://developers.facebook.com/tools/debug/

Steps to reproduce the problem

Go to the next link and enter the Sedona website link

https://www.opengraph.xyz/

See how on the social platforms no image is shown in the Sedona website link previews

Best to also add the Twitter Cards tags too.

https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started

Settings

Sedona version = master

Apache Spark version = ?

Apache Flink version = ?

API type = Scala, Java, Python?

Scala version = 2.11, 2.12, 2.13?

JRE version = 1.8, 1.11?

Python version = ?

Environment = Standalone, AWS EC2, EMR, Azure, Databricks?

jbampton commented 7 months ago

I found some docs on this

https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#tags