async def message_from_token(self, token: Text, payload: Any)-> Optional[BaseMessage]:
methods = [<EOL>self._message_from_sr,<EOL>self._message_from_token,<EOL>]<EOL>for method in methods:<EOL><INDENT>msg = method(token, payload)<EOL>if msg:<EOL><INDENT>return msg<EOL><DEDENT><DEDENT>
There is two ways of getting a FB user: either with a signed request or
either with a platform token. Both are tried out.