SAN FRANCISCO (Reuters) - Facebook has acquired hundreds of patents from International Business Machines Corp as the social networking company attempts to bolster its intellectual property portfolio in the wake of a lawsuit filed by Yahoo.