Social network pays close to US billion for photo sharing web service.