I have created a Facebook canvas application with an ASP.NET MVC backend.
On the backend, I need to detect whether or not the current request is from within the Facebook canvas application or from the regular website.
I can track this fine with the first request (since Facebook posts a signed_request) but subsequent page loads will not send the signed_request again.
To solve this I thought of using cookies, but the issue here is the fact that:
-
Many browsers block third party cookies
-
If the user has my regular website open in another tab, requests from that tab will also send the Facebook cookies, once set in the FB app
How would I go about this?
