Install
Works with Drupal: ^11.3 || ^12Using dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
2.11 MB
MD5: bc66585d7c36a21b740ad840612aa692
SHA-1: 23f00af3ed0200641f892d92579751c829cdd054
SHA-256: ac87ded4cdc22fdfe85950cd5d97ae39df22dc30b8af213e5c486d8b64bdaef5
Download zip
2.17 MB
MD5: cf649e04f2048d7f3d5da94a477720e5
SHA-1: baac8a62f7645769733fa29606d2360f3b5724d7
SHA-256: 6d1e95bf40ba2fcc957f5b317b605769cec28270f713003af86258f58c03cf3c
Release notes
Development branch for 5.0.x, the next major version. It includes everything in 4.1.x and rebuilds the module around a provider plugin type, so each network is its own submodule.
New
- New networks: Bluesky and Mastodon (no credentials needed), YouTube (API key) and Threads (Meta login).
- Existing networks as submodules:
socialfeed_facebook,socialfeed_instagramandsocialfeed_x. Enable only the networks you use. - One settings page per network at
/admin/config/services/socialfeed/{network}. Each has the same number-of-posts, refresh-interval and display settings. - One block per network ([Network] feed), with optional per-block overrides. Credentials are only stored in a block when it is customized.
- One template,
socialfeed-post.html.twig, withsocialfeed-post--NETWORKandsocialfeed-post--NETWORK--SUBTYPEsuggestions. The default style is themable with the--sf-accent,--sf-border,--sf-mutedand--sf-radiuscustom properties. - Provider API: other modules can add a network by writing a
#[SocialFeedProvider]plugin. See the README.
Breaking changes
- Each network is now a submodule. The database update enables the submodule for every network that had credentials or placed blocks.
- Configuration moves from
socialfeed.{facebook,instagram,twitter}.settingstosocialfeed_NETWORK.settings. The old configuration is deleted. - The block plugins
facebook_post,instagram_post_blockandtwitter_post_blockare replaced bysocialfeed:NETWORK. Placed blocks are converted, and customized settings are kept. - The per-network templates (
socialfeed-facebook-post,socialfeed-instagram-post-*,socialfeed-twitter-post) and thefacebook_style,instagram_styleandtwitter_stylelibraries are removed. Posts now usesf-postclasses. - The settings pages moved from
/admin/config/socialfeed/*to/admin/config/services/socialfeed/*. The Instagram redirect URI/socialfeed/instagram/authis unchanged. - X uses only the Bearer token; the OAuth 1.0a keys are dropped.
Upgrading from 4.x
Sites on any 4.x release, including 4.0.0, can update directly. Run composer require 'drupal/socialfeed:5.0.x-dev@dev', then drush updb. Afterwards, move any theme overrides to the new template and check your CSS.
This is a development release. The Threads, Instagram, Facebook and X providers are tested against mocked API responses; please report results from live accounts in the issue queue.