snarfed / bridgy

📣 Connects your web site to social media. Likes, retweets, mentions, cross-posting, and more...
https://brid.gy
Creative Commons Zero v1.0 Universal
711 stars 52 forks source link

OPD: truncate Instagram syndication URLs at 11 chars before comparing #641

Closed tantek closed 1 month ago

tantek commented 8 years ago

Instagram permalinks are different lengths depending on if the photo was posted while the account was public or private!

E.g. this photo was posted when the account was private: https://www.instagram.com/p/BDCv87dA9R_ibz5dUgymJjtGo2XiKl7o42gCQc0/ However, it's public permalink is actually just the first 11 characters of the ID, i.e.: https://www.instagram.com/p/BDCv87dA9R_

If Bridgy were to always truncate IG permalink URLs at 11 characters, it would be able to compare previously private photos with public syndication and vice versa.

Useful for when someone had private photos for a while, then switched to public, and used shorter permalinks - this would allow them to get Bridgy backfeed on their newly public photos.

snarfed commented 8 years ago

ack! definitely an unusual use case (switching back and forth btw private and public), but it does seem like this would handle it well.

snarfed commented 1 month ago

Closing as obsolete; Bridgy's Instagram support is dead.