Open theDyingMountain opened 5 years ago
How would you suggest integrating the news? I don't think adding the news to the Contao repositories would be a good idea because this way you'd need to synchronize both sources (and the data path FB -> Contao is unidirectional). But maybe somehow allowing the reader to access the FB news repositories?
I don't think it's necessary to synchronize both sources. You can offer an option before the synchronization. If the contao news modul option is selected, you can add entries in the tl_news table and add a flag to mark the news as facebook posts. Then you can mark all flagged news as readonly in the contao backend. The main advantage is an improved clarity and easier maintenance for editors.
But i agree that allowing the reader access to the FB news repositories will be an simpler and most likely faster option.
For example, this was implemented in the following module for Contao 3. https://github.com/postyou/Contao-Aggregator
Many users are familiar with the contao news module. It would be nice to add the possibility integrating posts in the news module. Then you can mix "normal" contao news with facebook news.
Note: I had done this functionality in my own contao facebook connector, but don't want to maintain this anymore. Your bundle is smarter and well-designed 😉