Photogram is a social network that allows users to upload their photos. Each user can register, upload photos, like, share…