Ah, that's a good lead! I did not look much into the actual permission list logic. I also did not find anything else that could replicate the duplicate reviews we saw here, but I can certainly test and vet the permission list once I have a moment. 🙂
Discussion
Yeah I could not have made a review because I was cycling🚴♂️ 190 KM😅 So I think it must be this. Let me know when you found it🙏
Good tidings! I confirmed that the authorized user filtering was indeed not functioning as expected; the following change alters the flow of events by first querying for users you have authorized, followed by retrieving recent reviews only by users returned in the authorized list:
https://gitlab.com/soapbox-pub/reviewstr-fork/-/commit/4d8cebc4b127072f53405ebebb60cdbed7f47b9e
Once more, you can either send the diff of this commit to Shakespeare to have it adapt to your current work, or re-import this repo to start as a new iteration of your project:
https://gitlab.com/soapbox-pub/reviewstr-fork
Thank you for the lead there - I hope this helps!
You are amazing🙏
I see now that the ‘stockmedia’ page/backend is gone 🤣😅 after your bug solution 😅 can you recall this or do I need to add it again via shakespeare?
Did you see this nostr:nprofile1qqsgvxzpp84wjd7c6mucpd9qk3k6fmcdnql2meqracd5czmtmc3ck3cpz4mhxue69uhkg6t5w3hjuur4vghhyetvv9usdz6n9a ?
Ah, I see! You had a newer fork of the project with the stock media pages. Yes, I can pull in that project and apply the same fixes there as well. 👍
nostr:nprofile1qqs86va62lv2d6yxng0365s4y4zewk22crdlavqmdyx7lrzxrwpdkdgpp4mhxue69uhkummn9ekx7mqpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqgkwaehxw309aex2mrp0yh8qunfd4skctnwv46qq3ykdv I rebased the project on your stock media version. Import the same project from "https://gitlab.com/soapbox-pub/reviewstr-fork.git" and let me know if that looks better!
Your the man!!! 🙏 what do you think when I share the review from reviewstr on Nostr it shows up with thumnail/photo so perfect. But when I try this with my nostr:nprofile1qqsy8w40ps5wdna3jkchacyrux0t8f90m7k9fkdkhtchqfcw6xf7xnqpzpmhxue69uhkummnw3ezumrpdejqzxrhwden5te0wfjkccte9eekummjwsh8xmmrd9skcu70y04 here this doesn’t work, can I add some code from reviewstr for PopCards!?
No problem! As for image previews, this one can likely be prompted for, though it might take a couple of tries. The gist of it would be: "When sharing art to nostr, please add the blossom image link directly in the post content, after the text, before the hashtags."
This is exactly what Reviewstr does, so it's a matter of exposing the image link to the text content of your post - the clients will render/embed it accordingly.
