async def build_platform(self, cls: Type[Platform], custom_id):
from bernard.server.http import router<EOL>p = cls()<EOL>if custom_id:<EOL><INDENT>p._id = custom_id<EOL><DEDENT>await p.async_init()<EOL>p.on_message(self.fsm.handle_message)<EOL>p.hook_up(router)<EOL>return p<EOL>
Build the Facebook platform. Nothing fancy.