NEW YORK (AP) — Twitter says it had its first quarterly profit in history and returned to revenue growth in the fourth quarter.