Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Disallowed Characters with Facebook Connect
#3

[eluser]renownedmedia[/eluser]
I eventually gave up and set up my app as follows:

Canvas Callback URL: http://yourapp.com/entry.php
Connect URL: http://yourapp.com

And my entry.php file contains the following:
Code:
$data = json_encode($_GET);
setcookie("fb_sig", $data, time() + 10, "/");
header("Location: /");

Basically, a user can visit myapp.com and use the application, or it can be embedded using entry.php to grab the evil get data, JSON encode it and stick it into a cookie, which if needed could be JSON decoded and read later in the application. I think I ended up not needing the initial GET data it was sending me at all.


Messages In This Thread
[SOLVED] Disallowed Characters with Facebook Connect - by El Forum - 08-25-2009, 05:09 PM
[SOLVED] Disallowed Characters with Facebook Connect - by El Forum - 09-09-2009, 07:52 PM
[SOLVED] Disallowed Characters with Facebook Connect - by El Forum - 09-10-2009, 10:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB