Re: Facebook session problems.

2011-01-31 Thread CrabbyPete
Its definitely a django thing. It does it on explorer as well. Somehow the session information is lost. Maybe because it goes out to facebook to get the log in. I used firebug and I can see the facebook cookies as well as those for my site. On Jan 31, 9:33 am, Aljoša Mohorović wrote: > On Mon, Ja

Re: Facebook session problems.

2011-01-31 Thread Aljoša Mohorović
On Mon, Jan 31, 2011 at 2:59 PM, CrabbyPete wrote: > I am loosing the django session. try setting the P3P on response: response['P3P:CP'] = "IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT" it probably wont help but it fixes this issue with explorer so it doesn't hurt. test if y

Re: Facebook session problems.

2011-01-31 Thread CrabbyPete
I am loosing the django session. On Jan 31, 8:44 am, "christian.posta" wrote: > Which session are you losing? > The django authenticated session, or the facebook session? > > On Jan 29, 10:30 pm, CrabbyPete wrote: > > > > > > > > > I managed to log into facebook using the graph api, I store the

Re: Facebook session problems.

2011-01-31 Thread christian.posta
Which session are you losing? The django authenticated session, or the facebook session? On Jan 29, 10:30 pm, CrabbyPete wrote: > I managed to log into facebook using the graph api, I store the FB id > and tie it to a User, like this > > class FacebookUser(models.Model): >     user            = m

Re: Facebook session problems.

2011-01-30 Thread CrabbyPete
Thanks, but no. I'm running it on Firefox now. On Jan 30, 3:43 pm, Aljoša Mohorović wrote: > On Sun, Jan 30, 2011 at 6:30 AM, CrabbyPete wrote: > > I log in and all is good except I loose the session if I go to another > > web site and come back. > > if this is facebook canvas app it wont work p

Re: Facebook session problems.

2011-01-30 Thread Aljoša Mohorović
On Sun, Jan 30, 2011 at 6:30 AM, CrabbyPete wrote: > I log in and all is good except I loose the session if I go to another > web site and come back. if this is facebook canvas app it wont work properly in safari and explorer because of some iframe restrictions. is this facebook canvas app and yo

Facebook session problems.

2011-01-29 Thread CrabbyPete
I managed to log into facebook using the graph api, I store the FB id and tie it to a User, like this class FacebookUser(models.Model): user= models.ForeignKey(User) fb_uid = models.CharField( max_length=100, blank = True, unique = True ) access_token= models.C