Ejemplo n.º 1
0
def publish_announcement_on_twitter(announcement):
    """
    Publish the given announcement on Twitter.
    :param announcement: The announcement to be published.
    :return: The tweet ID on success, False on error.
    """
    return publish_link_on_twitter(announcement.title, announcement.get_absolute_url())