def get_app_access_token(self, app_id, app_secret, offline=False):
if offline:<EOL><INDENT>return "<STR_LIT>".format(app_id, app_secret)<EOL><DEDENT>else:<EOL><INDENT>args = {<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": app_id,<EOL>"<STR_LIT>": app_secret,<EOL>}<EOL>return self.request(<EOL>"<STR_LIT>".format(self.version), args=args<EOL>)["<STR_LIT>"]<EOL><DEDENT>
Get the application's access token as a string.
If offline=True, use the concatenated app ID and secret
instead of making an API call.
<https://developers.facebook.com/docs/facebook-login/
access-tokens#apptokens>