Ive currently setup a Facebook tab on my Facebook fanpage.
It seems im not able to get any vars defined in my tab app url like:
So in my PHP im simply trying to do a
echo $_GET["share"];
However it seems I cant pass on anything from the tab app url.
I did the same thing with my canvas page url like:
http://apps.facebook.com/myCanvasApp/?share=var_i_want_to_pass_via_GET_to_PHP
And here I can easily echo it out.
Any ideas?
You need to use the
app_datafield in thesigned_request.Here’s two pages on Facebook’s Developer site that cover what you want.
https://developers.facebook.com/docs/reference/login/signed-request/
https://developers.facebook.com/docs/appsonfacebook/pagetabs/#integrating