Solvedrss bridge Anything special/dynamic about Facebook Feeds?
✔️Accepted Answer
Facebook's URI were indeed having junk parameters added. However, since PR #806, it should be fixed.
What version of RSS-Bridge are you running ?
Other Answers:
In theory, the detection of a new item should only be based on the uri
of the element.
In most of the bridges, the content never changes if the uri
is similar, but with Facebook Bridge, it changes due to Facebook adding a tracking code to every URL.
Both RSS-Bridge and Rssgoemail share the culprit:
- The
get_id
function should only base itself on the URI - The content should not change if the URI is similar.
I have pushed an update that should remove Facebook's tracking codes from their URIs. This should fix your problem.
It should not cause any problem, as the only thing that this update does is remove Facebook's tracking code, which is always good. We already remove these code from the URI without problems removing them from the content should not change anything. To update, you just need to pull via git or re-download the zip via Github
Yes, you only need to update the FacebookBridge file.
I use RSS Bridge to create feeds for a few Facebook pages, and a few Twitter pages and a few Instagram pages. Then I use FreshRSS as the feed reader. And then I'm using Rssgoemail to get notified via email when there are updates to any of my feeds.
Everything works fine for Twitter and Instagram, but for some reason when I have Facebook posts in my feed then Rssgoemail sends me an email every hour that there are new Facebook posts, even though there aren't any. Like this:
It only happens for Facebook posts, not for Instagram and not for Twitter.
I raised an issue over at Rssgoemail and the guy told me:
the detection of new entries is based on the SimplePie get_id() function, which uses the title, the permalink and the content:
return call_user_func($fn, $this->get_permalink().$this->get_title().$this->get_content());
So I removed the
$this->get_permalink().
bit there to see if maybe it's the Facebook permalinks that are causing the problem. Maybe the Facebook post URLs are dynamic; that long string of characters that's appended to every Facebook post, like this:facebook.com/xxxxxxxx&__xts__%5B0%5D=68.ARDjVQlhBi-1bSDePCXSx9aJLdFdqdSTQGSYQT3gxJcuWlchMlT8XWnjHdijL_LkS4nacEBRKXFecOust0RowPTdk9CUTastcNz-A2MSUXH5MgCQOIJ3G2LfRXsDlWtohKxgsJVHPHunQcZDfsVKk26RClJCIZXqNBmkFyhe1bon-Xk-VOzPJSSrMzECQwlN_wbDTOYuGLjonPGn3A7ZlgFpQh0&__tn__=-R
I am also asking here because FreshRSS is just the feed reader, and Rssgoemail just monitors the feeds. But RSS Bridge is what creates the feeds. You guys created the Facebook Bridge which creates the Facebook feeds.
Any idea why this is happening? What changes in the posts in the Facebook feed every 30-60 minutes? I mean it's not the post title, it's not the post content, is it the permalink, or something else?
Thank you😃