RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
7.32k stars 1.04k forks source link

[FacebookBridge] permalink problem #969

Closed pkzocker closed 4 years ago

pkzocker commented 5 years ago

Hey, I'm using a feedreader-bot to get the newest posts of the rssbridge posted on a telegram channel. But some pages doesn't post updates anymore, because the link and guid of the posts is always the same and the bot uses these to push new posts.

This is how it looks: rssbridgefalsch (From https://facebook.com/pg/Feuerwehr-Könnern-1098400606886642/posts/)

This is how it looks on other pages, which works fine: rssbridgerichtig (From https://www.facebook.com/pg/feuerwehr.guesten/posts/)

Is there any way it can be fixed? If you need more details, just let me know, and I will do my best ;-).

Thanks!

logmanoriginal commented 5 years ago

Thanks for reporting this issue! I can confirm this is happening on my machine.

Looks to me like finding the post URI is broken for posts that have a "See More" button: image

logmanoriginal commented 5 years ago

Looks to me like finding the post URI is broken for posts that have a "See More" button:

Actually it doesn't, those links are actually provided by Facebook. The links are something like this:

/permalink.php?story_fbid=2118195104907182&id=1098400606886642&__xts__%5B0%5D=68.ARA0fyBcVfcEOj2OFewDp4mBqCw9GFf--I6EZ0L76B7ByluRfczd1dG2MI_DsbIG28LMUmQ_29HUkhrNzaaDjGpQ243act2igHGw9kEjuZhMXnafDXX5QJrJNjTNr7YoDR4BJPfjOxKagkjlM8q-1ChpcUNT79vI6OicfPZw5Roj1IZ_Uc1i29RXC5RpC3BHOOyLrhD-pPIYBsUM-wqG5aGdNyxzOLbHeXkkmX_qPma0ZWKiR8rIc3kuknpC02tru_bjxSe_qM6fkQSHI3bGnfBHRD0cQELcDXJ93XeNjCMhE1llgZ3TWkunHy-qqGX0PgSzkWnEiqFW5s8mtpwV81wvx1bs&__tn__=-R

Since the bridge currently filters the tokens by simply removing all query parameters, the link doesn't work anymore.

jacotec commented 5 years ago

Hi,

I'm running into the same issue building a news feed in Mastodon which is collected from several Facebook pages.

All articles with a "read more" are just created with "https://www.facebook.com/permalink.php" as the link - which then does not work of course. The half of all feeds and resulting posts are broken due this.

Is there any update / chance of a fix?

logmanoriginal commented 4 years ago

I added a potential fix in #1358. Please take a look and let me know if this fixes it for you.