Obviously for most people on HN installing random software and turning over the keys to a social media account is a bad idea. But I know people who have mostly quit Facebook and have an old laptop lying around they never really use with nothing particularly sensitive on it.
Now morally it sounds like this is a bad idea, since the ads are promoting sketchy drugs and gambling. But as far as computer security risk? I'm not sure.