J. 2.5 - JFBConnect 6.4.2
Hi, yesterday I noticed in this page last event was not shown
from fb page
In the forum I found this
https://www.sourcecoast.com/forums/jfbc … ange-posts
but I couldn't add my comment, so I'm writing here
Can you suggest me something to solve this issue?
Sorry for the delayed response. Right now, we use the Page / Feed API to get posts from the page;
https://developers.facebook.com/docs/gr … /page/feed
This retrieves "The feed of posts (including status updates) and links published by this page, or by others on this page. "
Fetching the Events from a Page is a separate endpoint, which we don't currently support. It may be something we add in the future, but we have not done any investigation into what it would take to add that feature.
I hope that helps answer your question, but if you need more information or are (or have) a developer that may want to implement such a feature, we can point you in the right direction.
Thanks for your answer.
Same situation for shared posts, is it right?
Only posts created in the page are in the streming page and not the shared ones, is it correct?
Right now, I believe shared links are filtered out. The reason we don't show it is because links don't usually have a message to go along with them, which we need for the post to display.
If you want to test showing more stories, you can edit the /components/com_jfbconnect/libraries/provider/facebook/channel/page.php file. Around line 96, you'll see:
if(array_key_exists('from', $data) && array_key_exists('message', $data) && ($this->options->get('show_admin_only') == 0 || $data['from']['id'] == $pageId))
Change that to:
if(array_key_exists('from', $data) && ($this->options->get('show_admin_only') == 0 || $data['from']['id'] == $pageId))
That will remove the check to make sure there is a message in the post. However, you'll need to make sure that doesn't have any unwanted effects.
While you're testing, please set the "Enable Debug Mode" setting in JFBConnect to 'Yes'. That will disable caching so that the feed will be reloaded on every page load.
I hope that helps,
Hi Alex, I decided that it is ok that only posts in the page are shown on the site. I told that to all the editors of my page on Facebook and it is ok for everybody.
Many thanks for your support.
I'm glad you found something that works for you and your site. If you need anything else, please let us know.
Also, I see your subscription has recently expired. We hope to see you back as an active subscriber again.