question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Examples: OpenGraph meta tags

See original GitHub issue

This is a rather minor issue but could be fixed quickly i suppose, but if the example page is just static passing the tag to the iframe it could be fixed by outputting it through a php or other, just as wrapper for adding these tags based on the query.

image

Some platforms like the forum also automatically create a link with the page title instead full link

image

It would be nice to provide the thumbnails we have since longer, for embedding in social media. And for the title using or appending the example name. The relevant og tags:

<meta property="og:title" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<meta property="og:description" content="" />

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Fyrestarcommented, Jul 11, 2022

Not really, almost every platform saves them on their servers for adapting it to their best suited resolution and size, i think with a collection of thumbnails like mrdoob posted it will be no issue anyway if some platform keeps rectangular and another crops quadratic for something being cut off. 16:9 should be the most usual.

1reaction
mrdoobcommented, Jul 7, 2022

Oh, I thought you mean adding a an image like this in examples/index.html’s og:image.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

12 Essential Open Graph Meta Tags for Facebook and Twitter
There are three main types of Open Graph meta tags: og:title, og:image, and og:description, and taking the effort to implement them has distinct...
Read more >
Open Graph Meta Tags: Everything You Need to Know - Ahrefs
Open Graph meta tags are snippets of code that control how URLs are displayed when shared on social media. They're part of Facebook's...
Read more >
What is Open Graph and how can I use it for my website?
The four basic open graph tags that are required for each page are og:title , og:type , og:image , and og:url . These...
Read more >
Open Graph Protocol for Facebook Explained with Examples
Structured Properties in Meta Tags · <meta property=”og:audio:secure_url” content=” ” /> – This represents an alternate URL to use if the audio ...
Read more >
The Open Graph protocol
The Open Graph protocol enables any web page to become a rich object in a social graph.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found