Facebook Fan Page Support Product Page

dmxFacebook.php json_decode problem

Asked 05 Oct 2012 18:57:16
has this question
05 Oct 2012 18:57:16 Gaston Castagnet posted:
Hello, I'm finally using the facebook extension. i've got The following error in my fanpage: Fatal error: Call to undefined function json_decode() in \\hmfsw\web\dtc007\grupopangea.com.ar\public_html\fbkapp\ScriptLibrary\dmxFacebook.php on line 77

$data = json_decode($this->base64_url_decode($payload), true);

can you help me? thank


Replied 05 Oct 2012 20:06:53
05 Oct 2012 20:06:53 Gaston Castagnet replied:
I resolved that!
Now i get this error:

Fatal error: Call to undefined function hash_hmac() in \\hmfsw\web\dtc007\grupopangea.com.ar\public_html\fbkapp\ScriptLibrary\dmxFacebook.php on line 87

line 87
$expected_sig = hash_hmac('sha256', $payload, $secret, $raw = true);

Reply to this topic