Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I posted a comment on an article on blogstack and the comment do not appear on blogstack, but appear on a nostr note #12

Open
bitcoinuser opened this issue Feb 26, 2023 · 3 comments

Comments

@bitcoinuser
Copy link

Hi,

I posted a test comment on this article on blogstack: https://blogstack.io/naddr1qqyrgdtpvf3rjvp3qyv8wumn8ghj7un9d3shjtnndehhyapwwdhkx6tpdspzqwlsccluhy6xxsr6l9a9uhhxf75g85g8a709tprjcn4e42h053vaqvzqqqr4guuymsj5

The note of the comment is here: note1ey859g47ukfxckx62mj0lhdpgq9htju5p5z09w37ek7lpjpmg70sr37xq3

But on blogstack article page I don't see the comment.

@fiatjaf
Copy link
Owner

fiatjaf commented Feb 26, 2023

@ChristianChiarulli I think this will work if you use the data-custom-base-event-id= property (or something with a similar name if calling it from React directly) and pass the actual article event id.

But to be actually good we must add support for a/naddr things on NoComment.

@fiatjaf
Copy link
Owner

fiatjaf commented Feb 28, 2023

@ChristianChiarulli you can pass a naddr1 reference to NoComment now, check the README.

@ChristianChiarulli
Copy link

I am able to comment and it shows up initially but the comments don't show when revisiting the link.

https://blogstack.io/naddr1qqyrwvrxx9jnycfhqyv8wumn8ghj7un9d3shjtnndehhyapwwdhkx6tpdspzqgmpfjzeea6lrkz44qa8sf7ljyj4vlm5u0rtzc456ggv2z2f0aumqvzqqqr4guydk46v

The comments that should be at the above link can be found on my profile they all begin with "test"

https://snort.social/p/npub1ygzj9skr9val9yqxkf67yf9jshtyhvvl0x76jp5er09nsc0p3j6qr260k2

<NoComment
  relays={[relayUrl]}
  customBase={naddr}
/>

Here is a note id: note1l7r33a50s6qwj68pk8ka3ekhvt79l55axmlsprg8erf5rrxrhp8s2ecv0q

I'll decode it when I get a min and see if the naddr isn't being referenced correctly or something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants