rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

[Facebook] Duplicated posts

Open gjedeer opened this issue 2 years ago • 1 comments

Describe the bug The Facebook bridge is emiting the same post with different URLs on consequent refreshes. I can't count the number of times I've seen a certain post from 2019. In my RSS reader there are 500+ items in a feed, where in reality it's the same 5-10 posts repeated.

To Reproduce Steps to reproduce the behavior:

  1. Go to ?action=display&bridge=Facebook&context=User&u=barbelithrising&media_type=novideo&skip_reviews=on&limit=-1&format=Html
  2. Wait until the cache expires
  3. Enjoy the same posts again, with different URLs

Example of URLs generated for the same post:

https://www.facebook.com/barbelithrising/posts/pfbid02UoKubcQL5JLmDAWxi6nK4fGNNHpZwxzGrrSBByNGHk9jiwTsVNHmY3CgoBLpqWGQl
https://www.facebook.com/barbelithrising/posts/pfbid0QmjC7oCmQQf9fuYfPgVCwDi1MaU9EsPk4RoEYzt1HqMnJEaGcyYJrNB8CSL9PvVUl
https://www.facebook.com/barbelithrising/posts/1648025438910869
https://www.facebook.com/barbelithrising/posts/pfbid02UdAuJU8bFfkJR7pVniJpVqaDfZpBUfhJ52RAczU2LXFwneNT17VahQtcVDy1s87el
https://www.facebook.com/barbelithrising/posts/pfbid0R5XiPJWEQVFE8AZhAmgVjGsfHW9vPGAq13TPj3KgJHAoYMm28Ke5x9RMLDX57HBql
https://www.facebook.com/barbelithrising/posts/pfbid02UT1u1KrrSLX4pQqWQxY79qK15HQmc9EWzKBmLU4fAW1tjiY1NmbbGCHkQng3e7JNl
https://www.facebook.com/barbelithrising/posts/pfbid0QuNi6AEVb4HMBR4Lf3bhbTdMoj817KGmZEL2UEzTiyA7yYnVPPqfzW2yfNpEXQEbl
https://www.facebook.com/barbelithrising/posts/pfbid02UkpRGqAKSNfiUsSfnsUKMNpgfsDhjrC4KfNkuRkSKS4DH2o3Tq9MoWBWGT4SGEZsl
https://www.facebook.com/barbelithrising/posts/pfbid0QjDho1xkmRBFrVrHVmZGEkhNcpr7tGv1JJUT2C5Ud149ynznGb9KSMH4hucvbgfHl
https://www.facebook.com/barbelithrising/posts/pfbid02UafQygtaczLdANJMa2yfhEbwqNDQt3772kGx4YQdxc7qAzr5PMq56JMbPmxSrc3Nl
https://www.facebook.com/barbelithrising/posts/pfbid0R32E4XGDmeZHhaS5o2pNEWHLEtnYqkFGzxDgnsB6pQJwbMy2bB3d3EKkLSWX31wdl
https://www.facebook.com/barbelithrising/posts/pfbid02UQWQgYcqoPJzZBA79s3XsPqFSxGa86kxBfWwavKfVKLeufAhW65ucsPtkrGpX6etl
https://www.facebook.com/barbelithrising/posts/pfbid0QrsDmNzUxESZoHJBrMWQb9qBiWMgUqGP9ykSZ7JoavtCZhmertYW6HEJ4JVHEDY6l
https://www.facebook.com/barbelithrising/posts/pfbid02UiJvx3vJoXMe8fQj3nmCuYLjTX9VToYTuc7AfdNJxm73breVKtPWLtm5iayHbErcl
https://www.facebook.com/barbelithrising/posts/pfbid0QgiDUEik8f8U4M1abqkn7BBcuwf5iJ5xY2Jbx3GiBzSruRpXQ9KXZ5sctnM74eaql
https://www.facebook.com/barbelithrising/posts/pfbid02UY9veueZz4J8PoEyE5uCiuB6R89KQNuYobKfsPJQoFF87eLtHikviWW3x3L64yczl

There's more but I got tired of copying.

Expected behavior A post GUID should be unique

Screenshots Screenshot_2022-06-29_10-33-27

Additional info Looking at the facebook page source, when visiting from one of these long links, the post ID 1648025438910869 seems to be available in the source code. So maybe that can be used to normalize the link to https://www.facebook.com/barbelithrising/posts/1648025438910869?

gjedeer avatar Jun 29 '22 08:06 gjedeer

I see duplicates in my feed reader when a result from an FB group is returned without a URI by FacebookBridge. I see feed entries representing the same post with and without a URI.

One way to address both issues could be to require that each entry have a URI that matches the expected pattern. This might come at the cost of missing some entries or breaking more easily, but that could be preferable to duplicates.

mdemoss avatar Dec 03 '23 02:12 mdemoss