code: def make_service_hooks_sync_nickname_action(service):
      
      def sync_nickname(modeladmin, request, queryset):
          for user in queryset:  # queryset filtering doesn't work here?
              service.sync_nickname(user)
  
      sync_nickname.__name__ = str('sync_{}_nickname'.format(slugify(service.name)))
      sync_nickname.short_description = "Sync nicknames for selected {} accounts".format(service.title)
      return sync_nickname
docs: Make a sync_nickname admin action for the given service
      :param service: services.hooks.ServicesHook
      :return: fn to sync nickname for the selected users