# Slechte inline onebox-titel voor Spotify-albumshares

**URL:** https://meta.discourse.org/t/bad-inline-onebox-title-for-spotify-album-shares/377753
**Category:** Bug
**Tags:** onebox
**Created:** [7 augustus 2025 om 17:08 UTC](https://meta.discourse.org/t/bad-inline-onebox-title-for-spotify-album-shares/377753 "2025-08-07T17:08:53Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [11 augustus 2025 om 03:01 UTC](https://meta.discourse.org/t/bad-inline-onebox-title-for-spotify-album-shares/377753/4 "2025-08-11T03:01:23Z")

</div>

> [@supermathie](#):
>
> So that’s ultimately why we’re getting different behaviour, though I would still ask why we don’t use the opengraph properties here?

Hmmm:

> <https://github.com/discourse/discourse/blob/b1e2ac3cc8007f193ad6e89eb25d38c49eea9e64/lib/retrieve_title.rb#L35-L47>

Because `<title>` takes precedence over open graph in our implementation and we don’t want to hardcode the string “Unsupported browser”…

[FIX: update final destination to use more recent user agent by SamSaffron · Pull Request #34207 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/34207) should fix this…

This feels way old though:

`DEFAULT_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15"`

---

_[View the full topic](https://meta.discourse.org/t/bad-inline-onebox-title-for-spotify-album-shares/377753)._
