When I was redirected from the OAuth Dialog, my application URL looks like this.
login/auth_fb/#access_token=AAAB
How can I grab my access_token from the URL? If it is
login/auth_fb/?access_token=AAAB
In CodeIgniter, I can get it easily like $this->input->get(‘access_token’,TRUE);
Thanks for your help!
That part of the url is called the hash. BUT you can’t get it from the server side – what you need to do is write some javascript to grab it on the client and pass it back in on a POST.