I think the way it works on HTC is by writing a text note in G-mail account and through this the sense program know about the Facebook account of the contact.
I'm sure that for the programmers of the MIUI It's very simple ... Or am I wrong ...?#?^
I think you're doing a great job
Thanks in advance