Maybe recently, but early last decade (2010-ish) they didn't. It's why I haven't had a Facebook account since then. After opting out of sharing my data, I would see my data (namely, my Facebook friends likes) pop up on third-party websites.
I also don’t recall if there were settings for those things, probably not because learning how else Facebook used those widgets to profile me was what prompted me to quarantine Facebook to Chrome, blacklist Facebook’s domains in NoScript and reduce then eliminate my usage.