We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d54425 commit cb78d06Copy full SHA for cb78d06
src/php/relays/facebook.relay.php
@@ -42,7 +42,7 @@ public function sendMessage(string $message): bool {
42
return $ret;
43
});
44
$postfields = $postfields ();
45
- assert ( array_key_exists ( 'name', $postfields ) );
+ //seems facebook removed this field: assert ( array_key_exists ( 'name', $postfields ) );
46
assert ( array_key_exists ( 'body', $postfields ) );
47
$postfields ['body'] = $message;
48
$urlinfo = \parse_url ( $hc->getinfo ( CURLINFO_EFFECTIVE_URL ) );
0 commit comments