You want to put the screw into the studs which surround the door frame. Using the door frame itself is risky. I believe someone posted a pic where they tore out a frame by hanging their hammock from it.