-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add news module integration #10
Comments
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. |
Facebook needs to queried by v7.0 for the page-id/posts and page-id/events endpoints. Older versions will display an error like this error": { "message": "(m-vo#10) This endpoint requires the 'manage_pages' or 'pages_read_engagement' permission or the 'Page Public Content Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages and https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS for details.", "type": "OAuthException", "code": 10,
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 😉
The text was updated successfully, but these errors were encountered: