I am struggling to find out what is actually happening with my code. My scripts were working fine for some time and suddenly they have half stopped.
I am trying to access my api and I am getting back the access token. With my access token, I can access the users public info just correctly. But, when I want to post any info to their FB account I face below error.
Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user.
Any idea regarding this what is happening with my code? I am also trying to use sessions on the site to keep track of the internal user ids. Unable to know if my sessions could be causing the problem.