dskzpt / instagram2news
TYPO3 Extension to import instagram posts as EXT:news articles
Package info
github.com/dauskonzept/instagram2news
Type:typo3-cms-extension
pkg:composer/dskzpt/instagram2news
Requires
- georgringer/news: ^11.4
- svenpetersen/instagram: ^2.0 || ^3.0
- symfony/console: >=5.0 || >=6.0
- typo3/cms-core: ^12.4
- typo3/cms-extbase: ^12.4
Requires (Dev)
- ergebnis/composer-normalize: ^2.24
- friendsoftypo3/phpstan-typo3: ^0.9.0
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^1.4
- typo3/coding-standards: ^0.6.1
- typo3/testing-framework: ^8
Suggests
- typo3/cms-scheduler: To set up the cronjobs as tasks from within the backend
Provides
None
Conflicts
None
Replaces
None
README
TYPO3 Extension "instagram2news"
What does it do?
Imports instagram posts via the official Instagram API as EXT:news "News" entities.
Summary of features
- Integrates with EXT:news to import instagram posts as News entities
- Provides command to regularly import new/update already imported posts
- Adds a new subtype for EXT:news: "Instagram"
Installation
The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just do:
composer require dskzpt/instagram2news
Setup
- todo
Recommended:
- Add a cronjob/scheduler task to import the posts on a regular basis
Compatibility
| Version | TYPO3 | PHP | Support/Development |
|---|---|---|---|
| 1.x | 12.4 | >= 8.1.0 <= 8.3.99 ️ | Features, Bugfixes, Security Updates |
| 0.x | 10.4 - 11.5 | 7.4 - 8.0️ | Bugfixes |
Funtionalities
Automatic import of posts
This extension comes with a command to import (new) posts of a given instagram user. It is recommended to set this command up to run regularly - e.g. once a day.
instagram2news:import-posts {username} {storagePid} [limit|25]
Arguments:
| Name | Description |
|---|---|
| username | The instagram username to import posts for |
| storagePid | The PID to save the imported posts |
| limit | The maximum number of latest posts to import (Optional. Default: 25) |
Extending
Local path to save downloaded files
By default all images/videos in imported posts are saved in /public/fileadmin/instagram2news
You can change this path via the Extensions settings local_file_storage_path option.
Contributing
Please refer to the contributing document included in this repository.
Testing
This Extension comes with a testsuite for coding styles and unit/functional tests. To run the tests simply use the provided composer script:
composer ci:test