Facebook integration start.
Extracted a bunch of methods from Orborun to TLPLib.