The one way to avoid social media forex scams is, simply put, to avoid them. Do not trade money with any but a regulated, top-tier broker and by setting up a brokerage account on a website or through an actual person. Verify the broker has a good reputation and that all contact information and licenses are up to date and authentic.
There is no guarantee that a licensed broker won’t cause problems, but avoiding fake brokers who work entirely on social media is the best way to avoid this type of fraud. Also, even if you are enthusiastic about cryptocurrencies, do not pay a broker in cryptocurrency, because it is harder to track these transactions down.