Facebook has enough scale now to mean that other companies have to work around them rather than the other way around.
Whether they develop their own system from scratch or not is largely irrelevant , especially if they use BSD licensed code.
You would really be relying on a court finding them to be a monopoly which might be difficult to do if it was implemented in a subtle enough way.