Some one help me to provide working fblogin script.
Thanks and Regards.
Nobody is just going to do all your work for you. We come here to help people solve coding problems, not to act as code-monkeys for people who can't be bothered to do the work/research themselves.
I suggest you start by reading up on the Facebook PHP SDK. It has all the functionality required for this. Then there are also a lot of tutorials out there that help deal with these topics.