apache/sedona

Preview and Generate Open Graph Meta Tags - Missing Image

Open

#1328 aperta il 10 apr 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Scala (693 fork)batch import
good first issuehelp wantedimprovement

Metriche repository

Star
 (1953 star)
Metriche merge PR
 (Merge medio 1g 3h) (35 PR mergiate in 30 g)

Descrizione

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?

Guida contributor