appinit for FB