merged facebook api into chat room