NEW YORK (AP) — Twitter says it has bought 900 patents from IBM and that the companies have entered into a cross-license agreement.