{"action":"created","issue":{"url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/137","labels_url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/137/comments","events_url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/137/events","html_url":"https://github.com/Schmavery/facebook-chat-api/issues/137","id":125526657,"number":137,"title":"Error sending message","user":{"login":"bearbear12345","id":1159091,"avatar_url":"https://avatars.githubusercontent.com/u/1159091?v=3","gravatar_id":"","url":"https://api.github.com/users/bearbear12345","html_url":"https://github.com/bearbear12345","followers_url":"https://api.github.com/users/bearbear12345/followers","following_url":"https://api.github.com/users/bearbear12345/following{/other_user}","gists_url":"https://api.github.com/users/bearbear12345/gists{/gist_id}","starred_url":"https://api.github.com/users/bearbear12345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearbear12345/subscriptions","organizations_url":"https://api.github.com/users/bearbear12345/orgs","repos_url":"https://api.github.com/users/bearbear12345/repos","events_url":"https://api.github.com/users/bearbear12345/events{/privacy}","received_events_url":"https://api.github.com/users/bearbear12345/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Schmavery/facebook-chat-api/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-01-08T02:10:59Z","updated_at":"2016-01-09T12:22:51Z","closed_at":null,"body":"Logging on silly mode:\r\n\r\n```\r\ninfo Logging in...\r\ninfo Logged in\r\ninfo Request to pull 1\r\ninfo Request to pull 2\r\ninfo Request to thread_sync\r\ninfo Done logging in.\r\nERR! ERROR in sendMessage -->  { __ar: 1,\r\nERR! ERROR in sendMessage -->    error: 1357004,\r\nERR! ERROR in sendMessage -->    errorSummary: 'Sorry, something went wrong',\r\nERR! ERROR in sendMessage -->    errorDescription: 'Please try closing and re-opening your browser window.',\r\nERR! ERROR in sendMessage -->    payload: null,\r\nERR! ERROR in sendMessage -->    jsmods: { require: [ [Object] ] },\r\nERR! ERROR in sendMessage -->    bootloadable: {},\r\nERR! ERROR in sendMessage -->    ixData: {},\r\nERR! ERROR in sendMessage -->    lid: '6237232652112086575' }\r\n```\r\n\r\ncode:\r\n```\r\nvar fs = require(\"fs\");\r\nvar login = require(\"facebook-chat-api\");\r\nlogin({\r\n  email: _username_,\r\n  password: _password_\r\n}, function callback(err, api) {\r\n  if (err) return console.log(JSON.stringify(err));\r\n  api.setOptions({\r\n    listenEvents: false,\r\n    logLevel: \"silly\"\r\n  });\r\n    api.sendMessage({body: \"test\"}, ...);\r\n```"},"comment":{"url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/comments/170231659","html_url":"https://github.com/Schmavery/facebook-chat-api/issues/137#issuecomment-170231659","issue_url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/137","id":170231659,"user":{"login":"isn0gud","id":3247619,"avatar_url":"https://avatars.githubusercontent.com/u/3247619?v=3","gravatar_id":"","url":"https://api.github.com/users/isn0gud","html_url":"https://github.com/isn0gud","followers_url":"https://api.github.com/users/isn0gud/followers","following_url":"https://api.github.com/users/isn0gud/following{/other_user}","gists_url":"https://api.github.com/users/isn0gud/gists{/gist_id}","starred_url":"https://api.github.com/users/isn0gud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isn0gud/subscriptions","organizations_url":"https://api.github.com/users/isn0gud/orgs","repos_url":"https://api.github.com/users/isn0gud/repos","events_url":"https://api.github.com/users/isn0gud/events{/privacy}","received_events_url":"https://api.github.com/users/isn0gud/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T12:22:51Z","updated_at":"2016-01-09T12:22:51Z","body":"seems to work :+1: "}}