Yes, the C525 will work with any desktop running Windows 7 or later or macOS 10.10 or later and has a small mount on the bottom to sit on top of any monitor.
The C525 runs at 720P at 30 frames per second, which is the max resolution of the free version of Zoom. If there's a lot of lag, that usually means that the internet connection isn't solid or is slow.
The camera should work with Facebook messenger, you just may have to change the settings on your computer to start using the webcam as the new video source. Check with Samsung to see what will work with your TV model.