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

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
- Clone the repository into the
src folder:
“`shell
cd $INSTALL_FOLDER/src
git clone https://github.com/NaturalHistoryMuse