{"action":"created","issue":{"url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/382","labels_url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/382/comments","events_url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/382/events","html_url":"https://github.com/mgp25/WhatsAPI-Official/issues/382","id":57707926,"number":382,"title":"Simple CLI not working properly","user":{"login":"nesttle","id":4428341,"avatar_url":"https://avatars.githubusercontent.com/u/4428341?v=3","gravatar_id":"","url":"https://api.github.com/users/nesttle","html_url":"https://github.com/nesttle","followers_url":"https://api.github.com/users/nesttle/followers","following_url":"https://api.github.com/users/nesttle/following{/other_user}","gists_url":"https://api.github.com/users/nesttle/gists{/gist_id}","starred_url":"https://api.github.com/users/nesttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nesttle/subscriptions","organizations_url":"https://api.github.com/users/nesttle/orgs","repos_url":"https://api.github.com/users/nesttle/repos","events_url":"https://api.github.com/users/nesttle/events{/privacy}","received_events_url":"https://api.github.com/users/nesttle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-14T21:53:11Z","updated_at":"2015-02-15T11:47:45Z","closed_at":"2015-02-15T09:11:11Z","body":"Dear sir\r\n\r\nI'm testing the example files, and some functions are not working:\r\n```php\r\n            switch ($command) {\r\n                case \"/query\":\r\n                    $dst = trim(strstr($line, ' ', FALSE));\r\n                    echo \"[] Interactive conversation with $contact:\\n\";\r\n                    break;\r\n                case \"/lastseen\":\r\n                    echo \"[] Last seen $target: \";\r\n                    $w->sendGetRequestLastSeen($target);\r\n                    break;\r\n                default:\r\n                    $w->sendMessage($target , $line);\r\n                    break;\r\n            }\r\n```\r\nWhen I type `/query` in cmd and type some text, nothing happens!\r\n\r\nSome tips?\r\n\r\nThanks and keep this good work!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/comments/74414370","html_url":"https://github.com/mgp25/WhatsAPI-Official/issues/382#issuecomment-74414370","issue_url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/382","id":74414370,"user":{"login":"nesttle","id":4428341,"avatar_url":"https://avatars.githubusercontent.com/u/4428341?v=3","gravatar_id":"","url":"https://api.github.com/users/nesttle","html_url":"https://github.com/nesttle","followers_url":"https://api.github.com/users/nesttle/followers","following_url":"https://api.github.com/users/nesttle/following{/other_user}","gists_url":"https://api.github.com/users/nesttle/gists{/gist_id}","starred_url":"https://api.github.com/users/nesttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nesttle/subscriptions","organizations_url":"https://api.github.com/users/nesttle/orgs","repos_url":"https://api.github.com/users/nesttle/repos","events_url":"https://api.github.com/users/nesttle/events{/privacy}","received_events_url":"https://api.github.com/users/nesttle/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T11:47:45Z","updated_at":"2015-02-15T11:47:45Z","body":"Gotcha! :+1: :)\r\n\r\nWill try today, if I have some issues I'll be bothering you a bit (again)\r\n\r\nThanks!"}}