Sunday, December 9, 2012

Node.js Facebook application refreshes automatically in IE

whenever I open my Facebook application in IE (having authenticated) it refreshes about twice a second. I have seen many questions about this problem both on SO (http://stackoverflow.com/questions/5083484/facebook-application-refresh-automatically) and elsewhere. The only difference between the questions I have seen posted and mine is that my app is in Node.js and others (see the link above) are usually for PHP. That said, I tried putting the line mentioned in the question above <?php header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); ?> in my index.ejs file, and yesterday it did stop the refreshing. Today, however, the automatic refreshing started again. As in the answer to the link I posted above, I then tried <?php header('P3P: CP="HONK"'); ?>, that failing, I tried with the first one again, adding HONK to the list. None of these have worked, so I was wondering if anyone had any other ideas?

The app works fine in Firefox. The app was generated automatically when I set up a Node.js app on Facebook with Heroku hosting, and the only things I have changed in that code was to fix the "Post to wall" and "Send message" buttons, which were generating errors. Again, all of this functionality was working in IE yesterday when I got the app to stop refreshing, so I have no idea what went wrong. Help much appreciated! :)

Source: http://stackoverflow.com/questions/13778523/node-js-facebook-application-refreshes-automatically-in-ie

Iron Man 3 Trailer minecraft Pretty Little Liars Ben Wilson Latest Presidential Polls trump debate

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.