The Social Network star Armie Hammer is to reprise his roles as Tyler and Cameron Winklevoss in an upcoming episode of The Simpsons.