I'm inside a procedure for making an internet site that has both php based simple website and together with it features a blog option. I wish to create a custom user registration form which i've completed in php. However I likewise want a facebook login button for my form in php.

Another problem I'm facing is the fact that once the user makes its way into your blog section he has run out of the register section.

Are you able to please let me know a means by which my user remains signed in even if he makes its way into your blog section.

You won't ever pointed out within the question, consider you labeled Wordpress I'm presuming your blog is really a Wordpress blog. There's a wordpress plugin that enables you to register with Twitter, Facebook or register with Wordpress like a third option. It may sound like something which would meet your needs.