I'm trying to code with the facebook API
here it says : http://developers.facebook.com/docs/authentication/javascript to get the access_token thing, but it's after a # and not a ?
so how can I get it ?
http://www.example.com/callback#access_token=...&expires_in=...
You won't be able to do it in PHP - you can only access it in javascript - the fragment/hash never reaches the server, it is processed by the browser
in Javascript, you can access the fragment using
window.location.hash
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With