A state lawmaker has filed a bill that would require convicted sex offenders to identify themselves and their crimes if they use social media.