Neither Twitter nor Facebook are who they are for technical reasons; their popularity was more about timing the market and being the right company at the right time. Unlike say Google, who are on top for technical reasons and dominated by being smarter, faster, and better.
Since their popularity isn't based upon their technology, beating them requires a hell of a lot more than just duplicating their technology.