Chosen Solution

i replaced my rear camera piece with the one i bought from ifixit and on the camera app it works fine but when i use the rear camera on snapchat the camera is constantly moving left and right. i double checked the wiring , any debris and seating of the camera piece. Any other advice?

Bad unit, you need a replacement