{"shas":[["262126f3b250cb3fe1756056a306667bbf2f7187","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","removed die statement in the index file","Shiva Nandan"],["c71a33156765c6d034ba8d1220bf8435406691af","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","reverting back experimental script in index file","Shiva Nandan"],["b24b584c6d3f13a43e46702b3b0151fd11e720c2","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","removing redirect if fbuser not present (if user doesn't want to login using fb)","Shiva Nandan"],["397eeefb623ef2cc1815434c12c34407f02ed685","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","removed echoing of fb user id","Shiva Nandan"],["37f545823b91f62a159cee2135dc4be66bcfe38a","f7ffd87827586060c1add9b5a42b623c0635b45c@gmail.com","new events for dance and hidi lits","Dinesh Prasanth"],["9166028f511fa97ed25d4bed042a7d077531d05c","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","removing redirect if fbuser not present (if user doesn't want to login using fb)","Shiva Nandan"],["86d3ef63813134d09cf70866ab9af25b8361c44e","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","removed echoing of fb user id","Shiva Nandan"],["98ad16de4a6de897dae5bcd85779899c960c8585","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","modified reference from local copy of jquery to the Google CDN url","Shiva Nandan"],["39f9a71f0bc89d2cf01ae829e486e4577852f377","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","Merge branch 'master' of https://github.com/siddhant3s/festember11","Shiva Nandan"],["8dd298a1bbce0def926d5f682f133a1439062529","5e64cfa8c6846c028fb2df5531a31cb5e88baa0d@gmail.com","added fb authentication redirect if user has not already logged in using facebook","Shiva Nandan"],["63425bac6633fe7aff5041c9011a1b71552b088c","54d6f8b8f1e28a0934761529a2a86a5552a2b7ad@gmail.com","Merge branch 'master' of ssh://10.0.0.163:443/home/boopathi/public_html/festember11","Siddhant Sanyam"],["2d347f72157795bb56247c1b793919ab1aa54528","54d6f8b8f1e28a0934761529a2a86a5552a2b7ad@gmail.com","Finally fixed the FB authentication oAuth Token expired problem.\nSome details(because smart ones learn from other's mistakes):\nThe problem was that at random intervals, FB's authentication API, would\nthrow invalid oAuth token exception. This would cause the user to log out\nof the website. The user then was not able to login again till he clears\nhis cookies. It used to usually happen after a long inactivity at the website(\nboth Festember or Facebook). This bug was not reproducible at this point\nof time.\nSeek was able to find a way to reproduce the bug. He would login to festember.in\nusing facebook and then would log out from main Facebook website.\nThis would leave FB SDK thinking that the user is still logged in and would use\nthe old access_token. Since the old access_token was invalidated by FB, an exception\nwas thrown. Initially, I was just muting the exception. Then I thought I should\nsimply redirect users to http://festember.in/11/logout which basically is mod_rewrited\nto index.php with pages/logout.php called with AJAX. The point was that some\n FB code used to get executed even after the logout.php was included. This\nmeans that FB SDK used the same token even after logout.php code was called.\nThis was bad and hence didn't work.\nThe solution which thought of almost immediately (after Seek was able\n to recognize what user activity actually causes the bug) is that, I'll\nredirect them to /pages/logout.php so that none of the FB code is executed. This\nworked. But a better solution was to include pages/logout.php (which wipes off\nstate information). The trick was, you have to die() the script so that the rest\nof the code (which have FB SDK object) doesn't get executed.\nAnother Bug, Another bug debugged.","Siddhant Sanyam"]],"ref":"refs/heads/master","size":12,"head":"2d347f72157795bb56247c1b793919ab1aa54528","push_id":42405357}