Reputation: 480
In a canvas application, i want to store for which website/link come from my users. So i want to add a parameter in my app url liek this https://apps.facebook.com/mytestapp/?source=twitter.
The application displayed a text and then when the suer click on "go to my app" he is redirected to the facebook enhanced auth dialog, if he accepted all the permissions then he is redirected to my application home page but after the auth dialog the parameter in the url have disapears.
Do you know how to pass a parameter in thee auth dialog and get it after?
Thanks
Upvotes: 0
Views: 186
Reputation: 39389
The only way you'd get this is if the user actually appended '?source=twitter' or whatever to the URL, or by detecting the referral URL when they land on your page.
Upvotes: 1