This module imports tweets from the Twitter API into your Drupal site using cron. It saves tweet content, hashtags, mentions, and images as nodes, and can optionally clean up old tweets. Note that it only supports the paid Twitter API v1.1.
This module provides import tweets through Twitter API by Cron for Drupal 8/9/10/11.
Only Twitter v1.1 API is supported.
Due to recent policy changes on Twitter, we need to inform you that the module exclusively supports the paid v1.1 API. Version 2 of the API is not currently supported, and there are no immediate plans to support it, as fetching tweets also requires a paid subscription.
Registration with Twitter
Before you start the installation process you must register on Twitter and create your own application.
You will need to get "Consumer Key" and "Consumer Secret".
Features
- Ability to import multiple feeds of tweets in nodes
- Ability to import tweets by hashtags or user names
- Tweets and tweet data are saved in nodes
- Option to delete old tweets
- Creation of linked URLs from URLs, hash tags, and mentions inside the feed
- Importing hash tags, mentions, images (saving external image link and local image) in separate fields
Requirements
PHP versions listed as "active support" or "security fixes only" are supported.
Dependencies
This module needs to be installed via Composer, which will download the required libraries.
Installation
- Download the module via Composer(
composer require drupal/get_tweets); - Enable it;
- Go to
/admin/config/services/get-tweetsand set your credentials; - Done. Your tweets are now importing in nodes.
More API documentation can be found at Twitter API.
Ask your assistant about Get Tweets
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 3.0.0-alpha2 | Pre-release | 9–11 | Jan 1, 2025 | ||
| 3.0.0-alpha1 | Pre-release | 9–10 | Feb 12, 2023 |