custom element for embedding Bluesky posts and feeds mary-ext.github.io/bluesky-embed
typescript npm bluesky atcute
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: use dids for url instead of handle

Mary b40716c8 5138c237

+3 -3
+3 -3
lib/core.tsx
··· 123 123 const record = post.record as PostRecord; 124 124 const author = post.author; 125 125 126 - const author_url = get_profile_url(author.handle); 127 - const post_url = get_post_url(author.handle, get_record_key(post.uri)); 126 + const author_url = get_profile_url(author.did); 127 + const post_url = get_post_url(author.did, get_record_key(post.uri)); 128 128 129 129 if (main) { 130 130 return ( ··· 579 579 580 580 const show_large_images = images !== undefined && (large || !text); 581 581 582 - const post_url = get_post_url(author.handle, get_record_key(post.uri)); 582 + const post_url = get_post_url(author.did, get_record_key(post.uri)); 583 583 584 584 return ( 585 585 <a href={post_url} target="_blank" class="embed-post interactive">