# Path: kano_profile/paths.py
# TRACKER_UUIDS_PATH = os.path.join(kanoprofile_dir, 'tracker', 'uuids')
# PAUSED_SESSIONS_FILE = os.path.join(kanoprofile_dir, '.paused_sessions')
# 
# Path: kano_world/connection.py
# def _remove_sensitive_data(request_debug):
# def request_wrapper(method, endpoint, data=None, headers=None,
#                     session=None, files=None, params=None):
# 
# Path: kano_world/functions.py
# def get_glob_session():
#     return glob_session
# 
# def get_kano_world_id():
#     try:
#         kw_id = load_profile()['kanoworld_id']
#     except Exception:
#         kw_id = ''
#     return kw_id


import os
from slugify import slugify
from kano.utils import get_home, download_url, ensure_dir, read_json, write_json
from kano_profile.paths import app_profiles_file
from kano.logging import logger
from .connection import request_wrapper, content_type_json
from .functions import get_glob_session, get_kano_world_id
    if not glob_session:
        return False, _("You are not logged in!")

    return glob_session.post_comment(share_id, comment)


def like_share(share_id):
    glob_session = get_glob_session()

    if not glob_session:
        return False, _("You are not logged in!")

    return glob_session.like_share(share_id)


def unlike_share(share_id):
    glob_session = get_glob_session()

    if not glob_session:
        return False, _("You are not logged in!")

    return glob_session.unlike_share(share_id)


def get_following():
    glob_session = get_glob_session()

    if not glob_session:
        return False, _("You are not logged in!")


# Path: kano_profile/paths.py
# TRACKER_UUIDS_PATH = os.path.join(kanoprofile_dir, 'tracker', 'uuids')
# PAUSED_SESSIONS_FILE = os.path.join(kanoprofile_dir, '.paused_sessions')
# 
# Path: kano_world/connection.py
# def _remove_sensitive_data(request_debug):
# def request_wrapper(method, endpoint, data=None, headers=None,
#                     session=None, files=None, params=None):
# 
# Path: kano_world/functions.py
# def get_glob_session():
#     return glob_session
# 
# def get_kano_world_id():
#     try:
#         kw_id = load_profile()['kanoworld_id']
#     except Exception:
#         kw_id = ''
#     return kw_id


# Path: kano_world/share.py
import os
from slugify import slugify
from kano.utils import get_home, download_url, ensure_dir, read_json, write_json
from kano_profile.paths import app_profiles_file
from kano.logging import logger
from .connection import request_wrapper, content_type_json
from .functions import get_glob_session, get_kano_world_id

    if not glob_session:
        return False, _("You are not logged in!")

    return glob_session.post_comment(share_id, comment)


def like_share(share_id):
    glob_session = get_glob_session()

    if not glob_session:
        return False, _("You are not logged in!")

    return glob_session.like_share(share_id)


def unlike_share(share_id):
    glob_session = get_glob_session()

    if not glob_session:
        return False, _("You are not logged in!")

    return glob_session.unlike_share(share_id)


def get_following():
    glob_session = get_glob_session()

    if not glob_session:
        return False, _("You are not logged in!")


    user_id = get_kano_world_id()