I successfully ran the xfacebook_platform_client.php example and if I put $client->send_chat_msg('
i...@chat.facebook.com', 'Hello', null, null); into $client->add_cb('on_auth_success', function() { I can succesfully send a message.
After sending the message the app keeps running, while I want it to quist after SUCCESFULLY sending a message. How should I do?