An ATproto social media client -- with an independent Appview.

Fix oEmbed provider_url and provider_name (#6942)

Fixes https://github.com/bluesky-social/social-app/issues/6941

authored by

Laurence Gonsalves and committed by
GitHub
4582a9cf df3b43bb

+3 -1
+3 -1
bskyweb/cmd/embedr/handlers.go
··· 53 53 Version string `json:"version"` 54 54 AuthorName string `json:"author_name,omitempty"` 55 55 AuthorURL string `json:"author_url,omitempty"` 56 - ProviderName string `json:"provider_url,omitempty"` 56 + ProviderName string `json:"provider_name,omitempty"` 57 + ProviderURL string `json:"provider_url,omitempty"` 57 58 CacheAge int `json:"cache_age,omitempty"` 58 59 Width *int `json:"width"` 59 60 Height *int `json:"height"` ··· 170 171 AuthorName: "@" + post.Author.Handle, 171 172 AuthorURL: fmt.Sprintf("https://bsky.app/profile/%s", post.Author.Handle), 172 173 ProviderName: "Bluesky Social", 174 + ProviderURL: "https://bsky.app", 173 175 CacheAge: 86400, 174 176 Width: &width, 175 177 Height: nil,