RestServer is deprecated for v2.0 apps
Specifying the 'public_profile' permission is a best practice
updated doc