Possible Duplicate:
Why does my url show domain.com/?state=5a02… instead of just domain.com?
I’ve asked this question previously but I was far too vague. When a user logs into my Facebook web application, the URL ends in both ?state= and &code=. For example,
http://example.com/?state=asfsfs05sfd&code=afsafaf98790saf
How would I be able to remove that to give only http://example.com?
I’ve read this tutorial: php – remove "code" param in facebook app URL
Is my authentication process incomplete?
Don’t let it redirect to
domain.com, but todomain.com/finishfacebookauth.php?state=....On the
finishpage you can do with state and code what you need to do (e.g. store them in your session or in a database, don’t know whether and when you need them again), and then redirect todomain.com.