Map plugin Nearby Friends Error

this is the error i get when i try to use the nearby friend function on the map

Invalid Scopes: friends_photos, friends_status. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions