Access to friends on facebook when logged in!

Is it possible to build the functionality whereby if a user supplies login information to facebook within an asp.net membership site that I can query their friends list?

This is to make it easier for the user to connect to friends and to send a link to them (e.g. almost like a bookmark). Needs to be secure and not open to abuse e.g. spamming…!

Is this possible?

Thanks imaginekitty, I started to do some searching soon after posting - should have done that in the first place… apologises for my laziness!

You may want to poke around the Facebook API. This page may be of interest: http://developers.facebook.com/docs/reference/plugins/login