views:

17

answers:

0

Okay, I am attempting to use PHP Sessions to maintain my Facebook Session info (user, access_token, etc.) so that I can pull in data feeds from other pages securely for my members. I thought it might be as simple as attaching the access_token to a $me graph api call and catching an expired/invalid session or if the access_token is valid spit out the member data. Apparently, facebook requires me to redirect the page to the getLoginURL before accepting the access_token (even though it is valid). I need a way to avoid this if possible and not redirect the page at all as this will give me a no feed or a bad one.

So is there a way to setSession with the valid session info i am storing without the above error? I guess alt methods are welcome too.