code: def fetch_friends(self, user):
          
  
          if USING_ALLAUTH:
              raise NotImplementedError("VKontakte support is not implemented for django-allauth")
              #social_app = SocialApp.objects.get_current('vkontakte')
              #oauth_token = SocialToken.objects.get(account=user, app=social_app).token
          else:
              social_auth_backend = VKOAuth2Backend()
  
              # Get the access_token
              tokens = social_auth_backend.tokens(user)
              oauth_token = tokens['access_token']
  
          api = vkontakte.API(token=oauth_token)
          return api.get("friends.get")
docs: fethces friends from VKontakte using the access_token
          fethched by django-social-auth.
  
          Note - user isn't a user - it's a UserSocialAuth if using social auth, or a SocialAccount if using allauth
  
          Returns:
              collection of friend objects fetched from VKontakte