Create facebook object each and every time?
- by oshirowanen
I have a login page which will log a user into my webapp based on their facebook login details.
I then create a session to remember who they are.
What I want to know is, should I be creating and/or checking the facebook credential on every single page of my webapp, or should I simply use the session I create at the beginning to login?
For example, once they have logged in, I would like to allow them to post a message onto their own facebook wall from my app. Should I check the login credentials before they can post by recreating the facebook object, or should I simply use the stored login details already in my session and use that to post to their facebook wall?