Uninstalling the app from anywhere, or dumping your browser history, or anything you do locally will not affect the data stored on Facebook's servers. The only thing that would cause you to lose all of your friends would be to log into Facebook and delete your account.