Extension Twitter


Extension Basics

Title
Twitter
Name
ckanext-twitter
Type
Public extension
Description
A CKAN extension that enables users to post a tweet every time a dataset is created or updated.
CKAN versions
Download-Url (zip)
Last commit
a year ago (2024-05-14 10:45:29)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

Warning

This extension is now deprecated.

Due to the API changes Twitter/X introduced in 2023, this extension no longer works and will not be fixed. There will not be any further releases, new features, or bugfixes.

ckanext-twitter

Tests Coveralls CKAN Python Docs

A CKAN extension that enables users to post a tweet every time a dataset is created or updated.

Overview

This extension connects a CKAN instance to a Twitter account so that when a dataset is updated or created (i.e. the after_update hook is called), the user has the option to post a tweet about the activity.

Installation

Path variables used below: - $INSTALL_FOLDER (i.e. where CKAN is installed), e.g. /usr/lib/ckan/default - $CONFIG_FILE, e.g. /etc/ckan/default/development.ini

Installing from PyPI

pip install ckanext-twitter

Installing from source

  1. Clone the repository into the src folder: “`shell cd $INSTALL_FOLDER/src git clone https://github.com/NaturalHistoryMuse
Version
2.2.9
Version release date
2024-05-14
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Path variables used below: - $INSTALL_FOLDER (i.e. where CKAN is installed), e.g. /usr/lib/ckan/default - $CONFIG_FILE, e.g. /etc/ckan/default/development.ini

Plugins to configure (ckan.ini)
twitter
CKAN Settings (ckan.ini)
# ckanext.twitter.new = {% raw %}{{ title }} by {{ author }} ({{ records }} records) has just been published!{% endraw %}
# ckanext.twitter.consumer_key = {{ twitter.consumer_key }}
DB migration to be executed
(not set)
<< back to Extensions