def twitter_id_from_timestamp(ts: float) -> int:
    """Get twitter id from timestamp

    Args:
        ts (float): time stamp in seconds

    Returns:
        int: twitter id representing the timestamp
    """
    return (int(ts * 1000) - 1288834974657) << 22