A question about using facebook and teamviewer...

So, I want to use teamviewer to access another pc and open facebook on that pc.

Now, Facebook's terms of service is against sharing accounts, or in other words it might ban me for opening my facebook account in another country(Which is kind of what I'm trying to do).

Does anybody know if it's safe to use teamviewer, login to facebook inside the other pc overseas, do what I need then logout?