How to Find a Facebook Friend's ID Number

All Facebook users receive a unique URL, which can be given to friends or posted on external sites on the Web. Made up of a user name and a user identification number, a user’s profile URL is visible to anyone with profile-viewing capability. You can easily locate a friend’s user ID in a few quick steps.

...
Look for a unique set of numbers at the end of the profile URL.

Step

Log in to your Facebook account.

Step

Click on the name of a friend, which will bring you to that friend's home page. Choose the “Profile” option.

Step

Locate the URL at the top of the profile page. The user ID is the set of digits at the end of the URL following “id=.”