Facebook script fails to login

Since some days. Or am I the only one?

It is ok after manual login.
Otherwise it even enters getData after proces stage ST_DATA (without being logged in). And then of course fails to find the match for the 2 count values.

In Chrome the script works fine... WRONG:
I was still logged in with Chrome. Same behavior after logout.

Seems to be working fine for me in Chrome and FF.

jeroen's picture

I had at least 3 occasions were I saw the facebook account red in XN on starting Firefox past days. Comparing the behavior with other accounts I now realize on logging out one looses the session with the server. The account scripts then still get the session on checking the account using the stored cookies (dataURL). But on clicking the account (viewURL), one has to log in to get browser session back.
The difference with facebook comes after deleting the account cookies. The other accounts log back in (restoring cookies), but the facebook script fails in my case. So it seems to me the script might miss a vital cookie. Logging Facebook back in manually of course restores all cookies and the session.

I am curious whether your facebook script also fails to log back in, after logging out, deleting all facebook cookies and restarting Firefox (so XN looses session)... Does it make sense? And can you test that for me?

After logging out and deleting cookies...

In Chrome, when restarting... if I pop down the acct list from the XN icon and click Facebook acct to open/login -before- XN has managed to do the startup email check... then my FB acct will go red (unchecked) and it brings me to login page; if I do a 'Check Now' and allow XN to finish checking for email, then click my acct in drop down list, it will take me straight to my facebook news feed.

In Firefox, if I click my acct before XN has checked for FB messages... my three FB accts remain gray and I get the login page; after that I tried Check Now a few times and it would not check them... but after only a moment, there was another check (not sure if I initiated it or not... perhaps a delayed reaction)... after that check (I now had message counts showing), I clicked my acct and it took me right to my news feed.

I think I have seen a failure to login from clicking acct... after logging out ...at other times before, but it usually works after the next periodic mail check.  There have been times that I've done a separate manual login and allowed the browser to save that password... so that, it seemed to me, X-N would then login by clicking acct. I don't recall if I deleted cookies at those times. I was just kicking the tires to get a glitched login fixed. Not sure if it had anything to do with it exactly... that has been some time ago though.  X-N has been working fine except for chronic deviantArt script failure... and Chrome only working one FB account, unlike FF which has no problem with three. (and now LinkedIn again)

 

jeroen's picture

Thanks, RpD. You are right: it recovered yesterday after some 15-20 minutes on Firefox. I suspect clicking Check Now has effect.
Today I tried the same without clicking Check Now and it failed for over 30 minutes. Clicking Check Now numerous times after that strangely enough didn't help either.

I found the part of the facebook script that gets into problems by deleting the cookies, specifically the datr cookie (after restarting Firefox, before restart XN keeps checking).
Manual login immediately restores the datr cookie, the session and XN, so it's obvious that does more than the script does. And thus the situation is always solvable.