I "logged in" to my fb account through my PC and went to settings ->account settings->apps and the application platform was on.THEN I LOGGED OUT.
ON MY PHONE ,I went to settings->apps->all->facebook
clicked on "clear data" and then "force stop"
then clicked on the warning sign appearing on top...