I'm trying to pass a GET parameter from my Facebook and Google login button, that I've set up using HWIOAuthbundle. I've looked at this question: To path the parameter to OAuth facebook login by symfony2/HWIOAuthBundle, however I didn't quite understand how he managed to get it working. He mentions using referer, which I don't anything about - and I don't have enough reputation to post a comment on that question...
I was thinking something like this:
<a href="{{ path('google_login',{'datakey':1}) }}">Link</a>
But how do I retrieve it in my FOSUBUserProvider? I appreciate all help!