def add(self, scriptclass, key=None, autostart=True):
        if self.obj.__dbclass__.__name__ == "PlayerDB":
            # we add to a Player, not an Object
            script = create.create_script(scriptclass, key=key, player=self.obj,
                                          autostart=autostart)
        else:
            # the normal - adding to an Object
            script = create.create_script(scriptclass, key=key, obj=self.obj,
                                      autostart=autostart)
        if not script:
            logger.log_err("Script %s could not be created and/or started." % scriptclass)
            return False
        return True
Add `facebook` into the request context and attempt to authenticate the user.
dataset/ETHPy150Open evennia/evennia/evennia/scripts/scripthandler.py/ScriptHandler.add--crossover with--dataset/ETHPy150Open aidanlister/django-facebook/django_facebook/middleware.py/FacebookMiddleware.process_request