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
707 stars 52 forks source link

Add Bridgy source post_id method #1582

Closed JoelOtter closed 10 months ago

JoelOtter commented 10 months ago

Went with a source-specific post_id method that by default just calls through to the static Granary one but can be overridden on a per-silo basis.

Fixes #1575

snarfed commented 10 months ago

I tried this out locally just now, and it works! Nice.

JoelOtter commented 10 months ago

Applied your suggestion through GH UI :)

JoelOtter commented 10 months ago

wait, there's a syntax error, fixing

snarfed commented 10 months ago

impossible! how dare you 😆

JoelOtter commented 10 months ago

Spotted a way to simplify it - we can just always run the replace, if it's not present it's a no-op right?

snarfed commented 10 months ago

Spotted a way to simplify it - we can just always run the replace, if it's not present it's a no-op right?

Right!