There's a lot of major challenges to creating decentralized, trustless systems, but this is very easy to solve in a trustless system. All you do is indicate "Like"s by signing an object like:<p><pre><code> {post:"<cryptographic hash of post>",action:"like"}
</code></pre>
That way if the post changes, your signed "like" no longer applies.<p>This trustless-ness can be introduced in centralized systems too, but the tendency in a centralized system is to trust the central authority, which is the whole problem with such systems.