adding a new app failed with the wellknown error
i found that in fb.module, about line 268
json_decode returns NULL
if ($http->data) {
dd($http->data, $label='http data');
$data = json_decode($http->data, TRUE);
//$data = json_decode("{\"about_url\":\"\",\"application_name\":\"floriankonnertz\"}", TRUE);
dsm($data);
in http->data it's fine
"{\"about_url\":\"\",\"application_name\":\"floriankonnertz\",\"edit_url\":\"\",\"authorize_url\":\"\",\"uninstall_url\":\"\",\"canvas_name\":false,\"connect_url\":\"http:\\\/\\\/florian-konnertz.de\\\/\"}"
so i hardcoded part of it (see above)
and the app was added.
could also code all in but of course care for (remove) double+triple escapes \\\/
Comments
Comment #1
groovehunter commentedtoday i setup FB for my 2nd site, actually a subdomain and before upgraded to 3.0rc1 and did everything as stated in readme.txt
But still got that "unable..." error and found out that it's again this issue.
no way.
hopefully s.o. has time to contrib a workaround. asap
btw is it clear to you what i meant?
Would be nice to hear if s.o. got a subdomain and main domain FB connect running on one fb application.
greets flo