prepare facebook config for server