FaceBook Authentication

Apr 5 2010 6:04 AM
I have a asp.net web application that asks for Facebook username and password.Once i give the credentials, it will check for whether with the credentials supplied any username exists and whether the given password is correct.Can anyone give me any info on any suitable API for this mechanism to implement ??