def get(self, request, provider=None):
        """prepare the social friend model"""
        # Get the social auth connections
        if USING_ALLAUTH:
            self.social_auths = request.user.socialaccount_set.all()
        else:
            self.social_auths = request.user.social_auth.all()
                
        self.social_friend_lists = []

        # if the user did not connect any social accounts, no need to continue
        if self.social_auths.count() == 0:
            if REDIRECT_IF_NO_ACCOUNT:
                return HttpResponseRedirect(REDIRECT_URL)
            return super(FriendListView, self).get(request)

        # for each social network, get or create social_friend_list
        self.social_friend_lists = SocialFriendList.objects.get_or_create_with_social_auths(self.social_auths)

        return super(FriendListView, self).get(request)
prepare the social friend model