Chosen Solution

So I want to buy a second hand iPhone 8 but the front camera is broken I just need to know if I change it will the home button and touch id still work cause I recently changed my ip7 screen and I got the one with small parts but when I turned on my ip7 the home button didn’t work so I had to use the old camera

The front camera has nothing to do with touch ID on the iPhone 8 if touch ID is working now it will still work no matter what parts you change, except of course for the home button.