Using IFrame, how do I ensure I have a FB session before loading?

Aug 2, 2009 at 6:24 PM

I'm using the IFrame base class from the FB Toolkit (I forget the exact name, I'm away from the code).  Anyway, I need to ensure that the user has connected to Facebook before my page_load completes.  Sometimes I get 'Invalid Session Id'.  How do I stop this from happening?

Aug 4, 2009 at 4:47 AM

You will get a lot of discussion around this topic. I will recomend you to study about sessions on the facebook official pages. I will suggest you to focus on workarounds like storing infinite session key upon first login in the database or acquiring the session from Iframe session key which is silently passed between each request.


Usman Ahmed