SAN FRANCISCO (Reuters) - Facebook will pay $1 billion in cash and stock for Instagram, a 2-year-old photo-sharing application developer, in its largest-ever acquisition just months before the No. 1 social media website is expected to go public.