def get_record_from_dict(metadata):
    """
    Converts a metadata dictionary to a list, in the correct order to be added to the database by add_to_db.

    :param metadata: The metadata dictionary
    :return: A metadata list

    """
    return [metadata["no_statuses"], metadata["no_followers"], metadata["no_friends"],
            metadata["no_favourites"], metadata["no_listed"], metadata["default_profile"],
            metadata["geo_enabled"], metadata["custom_bg_img"], metadata["verified"],
            metadata["protected"]]