This project is not covered by Drupal’s security advisory policy.
Integrates with Drupal core's Media module and thus offers more flexibility.
Integrates with Media entity Twitter to check for and fetch new tweets systematically via cron.
Introduction
Twitter Entity features:
- Twitter Entity module allows to pull Tweets from user timeline and store them as entities.
- Tweets can be pulled from multiple users.
- Provides basic views block with list of five latest Tweets.
This block can be easily cloned and adjusted to user needs.
Requirements
Module uses https://github.com/abraham/twitteroauth library to interact with the Twitter API.
If you will use composer to install this module it will be automatically pulled.
Twitter Application
In order to interact with Twitter API you need to create Twitter Application.
- Login to your Twitter account and go here https://apps.twitter.com/
- Click "Create new app" and provide Application Details (name, description and website)
- After application is created click on "Keys and Access Tokens" tab then click on "Create my access token" button
- If you went trough above steps you should have all necessary Keys and Access Tokens that needs to be filled on module administration page /admin/content/tweet/settings
- I also recommend changing Application permissions to "Read Only"
Installation
Composer must be used to download this module, please see the drupal.org documentation about managing a Drupal project with composer if you are unfamiliar with this concept.
Configuration
Twitter api keys, and twitter account can be set it here
/admin/content/tweet/settings
Pulling tweets
After you have finished module setup, you can pull Tweets for first time by just running CRON.
By default it pulls the five latest Tweets, so if you want to pull more for the first time adjust this number on the settings page.
You can see a list of pulled Tweets on this page /admin/content/tweet
Theming
Individual Tweets can be themed by overriding twitter_entity.html.twig
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Obsolete
Use of this project is deprecated.- Project categories: Content editing experience
24 sites report using this module
- Created by Entaro on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


