-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Enable protection on the script to honour not logged in status for accounts!? #36
Comments
Just noticed it is the same script, I had download the .js file to put on my host. My code also available here:- https://github.com/corkiejp/corkiejp.github.io/blob/c4b5b78e5368fe5e01776651f1bdad5c7c960cad/blueskyacc_p.html |
Hey the bsky-embed web component just handles rendering a public feed. If you want to dynamically set the username you need to add it to load the script without "async" and add the HTML dynamically like this:
For more advanced use cases like the profile stuff you have in your code, you need to take a look on the official bsky api |
Thanks for the reply, code as I have it actually works. But I was attempting to try and honour this setting:- But just complicated the script in attempt to do so. |
Ah okay, I'll take a look if I can update the code |
I found another script with the same issue. They have suggested that it may require a change to the api itself by Bluesky! |
The above is how https://embed.bsky.app/static/embed.js handles the result. |
I was advised by Perplexity AI to use this update script for embeds.
https://cdn.jsdelivr.net/npm/bsky-embed/dist/bsky-embed.es.js
Is it the same updated script as provided here?
I tried to add protection on the page myself, but accounts still display and the setting ignored.
This is my attempt at using edited script:-
The text was updated successfully, but these errors were encountered: