I was able to create a ⚡️button and a QR code for my Nostr profile on the nostrgram client but clicking the zap ⚡️ button doesn’t add anything to the url. Trying to land the user right to the zap screen.

Reply to this note

Please Login to reply.

Discussion

let me check your profile data.

i think everything is ok. I just zapped you and it worked smoothly⚡⚡

I'm trying make a button on SatoshiPuzzles.com that brings the user right to the zap screen, right now it takes you to my profile page.

Trying to eliminate the extra step.

Plus if you can embed the zap url into a button you could zap anyone anywhere by embedding zaplinks into buttons

make sense?

Just bought Zaplinks.lol

You down to help me throw something together Anon?

Ok sorry misunderstood your question. Had a quicklook and there doesnt seem to be an easy deeplink to the zap screen. Would have to look at it on desktop but i'm currently on mobile. Also not sure if the user would need a nostr key before he could zap..

Let me know if you find a way my dude!

the div is there, just hidden by the css. clicking the bolt makes it visible. you could try to load the page in a frame and make it visible with some js. But there are security implications. Because of CORS settings on nostrgram server you might not be allowed to manipulate it.

Do you think all nostr web clients are the same way? Don’t really care which client I use just as long as I can grab a unique URL for the ⚡️ zap button

i looked at snort but its the same. i think quickest way would be to make your own page and get your profile data from nostr and/or add the lnurl stuff yourself. a profile zap is just a tip anyway not really a zap afaik. a zap is more about a note on nostr

actually as snort runs in your browser you can probably just download/save your snort html profile page, make the changes you want and host it on your own server:)

Would you be willing to walk me through this exercise? Also it would be cool if anyone could create a zap link like you can with QR codes ya know?!

sure, just run your own snort on your server or just the profile part! what tech you use to host your site?

I sent you a DM not sure if you saw

replied