I did some searches and I didn't find anything that was related to my problem.
I'm currently trying to implement a Facebook login to my website and I'm having problems with the login authentication due to htaccess mod rewrite URLs?
The code works perfectly and I get logged in if I use it without the mod rewrite rules like:
domain.com/view_webhosting.php?webhosting=name
But as soon as I go over to the mod rewrite URL
domain.com/webhosting-name/
Then it just doesnt work and throws a error "CSRF state token does not match one provided."
in the htaccess file it looks like this
RewriteRule ^webhosting-([a-z_0-9-]+)/$ /view_webhosting.php?webhosting=$1 [L]
Anyone have a solution to a problem like this? I am using Facebook SDK v3.1.1