Twitter and Facebook have extensive OS level integrations put together by Apple.
"Too big to fail"
I think at least Facebook's usage would fall under the category of facilitating inter-app communication. They just communicate with almost every app out there.
Wouldn't be surprised if they pay for the privilege.