Wow, if that means that the engineer is personally responsible that Twitter follows the FTC rules, then RIP the engineers. I would just stop writing code at that point. No compensation worth that risk.
And it opens up interesting questions. If I decline to implement something then can the company fire me at all? Or do they have to prove first that what has been asked does not goes against FTC rules.