No, it is not safe to log in to Facebook from a public computer. Public computers can be easily accessed by anyone, and they may not be secure. It is best to use a personal device with up-to-date security software when accessing Facebook.