Avoid duplicate posts with xml rpc

I was experiencing a similar problem and nothing was working for me, so I posted my solution here:

How to validate XML-RPC post creation and cancel when needed?

Maybe you want to check it.

I hope it helps!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)