Facebook is heavily used in web applications, to provide ease…