I think your biggest challenge would be assimilating an FID to a starknet wallet, you would need a function to "log in" or sign first I believe which would then pair a farcaster account to a starknet account. To keep the interactions free, you need to prepay all mint costs. The button calls are handled serverside.
Let’s find out https://github.com/keep-starknet-strange/starknet-warpcast