Recognizing the source of Facebook application user
- by Joel
Hello,
When serving an iframe application in Facebook, is there anyway I can know when a user visits my site through Facebook as an application or if he reached the site directly (typed my domain URL in the browser)?
I know I can check if the user has a cookie (named "u") which tells me that the user used facebook to get an access_token.
However, if the user visited the application one minute ago and got the access_token cookie, but then typed the URL in the browser, checking for the existence of the cookie will return TRUE, although the visitor arrived to the site directly.
Thanks,
Joel