hi every one
i have a question that how i can get the facebook fan ID. e.g i have a page and 40,000 users like my page now i want to get the id of each users(40,000) one id per line. please tell me how i can do this? and i also want to make the front end that when i give the id of the page and the total no of fans/users, it will give the one id per line.

waiting for your reply.
thanks in advance.