There is no barrier to entry. But there is a huge barrier to grow and establish something new. Whatever a smaller competitor comes up with Facebook can quickly copy and dominate the market just by sheer size. There is a reason why so many startups get acquihired by one of the big companies and shut down their product instead of establishing themselves on the market.