fix fb integration, added appid