@register.inclusion_tag('<STR_LIT>',<EOL>takes_context=True)<EOL>def like_button_js_tag(context):
if FACEBOOK_APP_ID is None:<EOL><INDENT>log.warning("<STR_LIT>")<EOL><DEDENT>if FACEBOOK_APP_ID:<EOL><INDENT>request = context.get('<STR_LIT>', None)<EOL>if request:<EOL><INDENT>return {"<STR_LIT>": True,<EOL>"<STR_LIT>": FACEBOOK_APP_ID,<EOL>"<STR_LIT>": request.get_host()}<EOL><DEDENT><DEDENT>return {"<STR_LIT>": False}<EOL>
This tag will check to see if they have the FACEBOOK_LIKE_APP_ID setup
        correctly in the django settings, if so then it will pass the data
        along to the intercom_tag template to be displayed.

        If something isn't perfect we will return False, which will then not
        install the javascript since it isn't needed.