Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.06 KB | None | 0 0
  1. IncomingMessage {
  2. _readableState:
  3. ReadableState {
  4. objectMode: false,
  5. highWaterMark: 16384,
  6. buffer: BufferList { head: null, tail: null, length: 0 },
  7. length: 0,
  8. pipes: null,
  9. pipesCount: 0,
  10. flowing: true,
  11. ended: true,
  12. endEmitted: true,
  13. reading: false,
  14. sync: true,
  15. needReadable: false,
  16. emittedReadable: false,
  17. readableListening: false,
  18. resumeScheduled: false,
  19. defaultEncoding: 'utf8',
  20. ranOut: false,
  21. awaitDrain: 0,
  22. readingMore: false,
  23. decoder: null,
  24. encoding: null },
  25. readable: false,
  26. domain: null,
  27. _events:
  28. { end: [ [Function: responseOnEnd], [Function] ],
  29. close: [ [Function], [Function] ],
  30. data: [Function],
  31. error: [Function] },
  32. _eventsCount: 4,
  33. _maxListeners: undefined,
  34. socket:
  35. TLSSocket {
  36. _tlsOptions:
  37. { pipe: null,
  38. secureContext: [Object],
  39. isServer: false,
  40. requestCert: true,
  41. rejectUnauthorized: true,
  42. session: undefined,
  43. NPNProtocols: undefined,
  44. ALPNProtocols: undefined,
  45. requestOCSP: undefined },
  46. _secureEstablished: true,
  47. _securePending: false,
  48. _newSessionPending: false,
  49. _controlReleased: true,
  50. _SNICallback: null,
  51. servername: null,
  52. npnProtocol: false,
  53. alpnProtocol: false,
  54. authorized: true,
  55. authorizationError: null,
  56. encrypted: true,
  57. _events:
  58. { close: [Object],
  59. end: [Object],
  60. finish: [Function: onSocketFinish],
  61. _socketEnd: [Function: onSocketEnd],
  62. secure: [Function],
  63. free: [Function: onFree],
  64. agentRemove: [Function: onRemove],
  65. drain: [Function: ondrain],
  66. error: [Function: socketErrorListener] },
  67. _eventsCount: 9,
  68. connecting: false,
  69. _hadError: false,
  70. _handle: null,
  71. _parent: null,
  72. _host: 'graph.facebook.com',
  73. _readableState:
  74. ReadableState {
  75. objectMode: false,
  76. highWaterMark: 16384,
  77. buffer: [Object],
  78. length: 0,
  79. pipes: null,
  80. pipesCount: 0,
  81. flowing: true,
  82. ended: false,
  83. endEmitted: false,
  84. reading: true,
  85. sync: false,
  86. needReadable: true,
  87. emittedReadable: false,
  88. readableListening: false,
  89. resumeScheduled: false,
  90. defaultEncoding: 'utf8',
  91. ranOut: false,
  92. awaitDrain: 0,
  93. readingMore: false,
  94. decoder: null,
  95. encoding: null },
  96. readable: false,
  97. domain: null,
  98. _maxListeners: undefined,
  99. _writableState:
  100. WritableState {
  101. objectMode: false,
  102. highWaterMark: 16384,
  103. needDrain: false,
  104. ending: true,
  105. ended: true,
  106. finished: true,
  107. decodeStrings: false,
  108. defaultEncoding: 'utf8',
  109. length: 0,
  110. writing: false,
  111. corked: 0,
  112. sync: false,
  113. bufferProcessing: false,
  114. onwrite: [Function],
  115. writecb: null,
  116. writelen: 0,
  117. bufferedRequest: null,
  118. lastBufferedRequest: null,
  119. pendingcb: 0,
  120. prefinished: true,
  121. errorEmitted: false,
  122. bufferedRequestCount: 0,
  123. corkedRequestsFree: [Object] },
  124. writable: false,
  125. allowHalfOpen: false,
  126. destroyed: true,
  127. _bytesDispatched: 562,
  128. _sockname: null,
  129. _pendingData: null,
  130. _pendingEncoding: '',
  131. server: undefined,
  132. _server: null,
  133. ssl: null,
  134. _requestCert: true,
  135. _rejectUnauthorized: true,
  136. parser: null,
  137. _httpMessage:
  138. ClientRequest {
  139. domain: null,
  140. _events: [Object],
  141. _eventsCount: 5,
  142. _maxListeners: undefined,
  143. output: [],
  144. outputEncodings: [],
  145. outputCallbacks: [],
  146. outputSize: 0,
  147. writable: true,
  148. _last: true,
  149. upgrading: false,
  150. chunkedEncoding: false,
  151. shouldKeepAlive: false,
  152. useChunkedEncodingByDefault: true,
  153. sendDate: false,
  154. _removedHeader: [Object],
  155. _contentLength: null,
  156. _hasBody: true,
  157. _trailer: '',
  158. finished: true,
  159. _headerSent: true,
  160. socket: [Circular],
  161. connection: [Circular],
  162. _header: 'POST /v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI HTTP/1.1\r\nhost: graph.facebook.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 210\r\nConnection: close\r\n\r\n',
  163. _headers: [Object],
  164. _headerNames: [Object],
  165. _onPendingData: null,
  166. agent: [Object],
  167. socketPath: undefined,
  168. timeout: undefined,
  169. method: 'POST',
  170. path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  171. _ended: true,
  172. parser: null,
  173. res: [Circular] },
  174. read: [Function],
  175. _consuming: true,
  176. _idleNext: null,
  177. _idlePrev: null,
  178. _idleTimeout: -1 },
  179. connection:
  180. TLSSocket {
  181. _tlsOptions:
  182. { pipe: null,
  183. secureContext: [Object],
  184. isServer: false,
  185. requestCert: true,
  186. rejectUnauthorized: true,
  187. session: undefined,
  188. NPNProtocols: undefined,
  189. ALPNProtocols: undefined,
  190. requestOCSP: undefined },
  191. _secureEstablished: true,
  192. _securePending: false,
  193. _newSessionPending: false,
  194. _controlReleased: true,
  195. _SNICallback: null,
  196. servername: null,
  197. npnProtocol: false,
  198. alpnProtocol: false,
  199. authorized: true,
  200. authorizationError: null,
  201. encrypted: true,
  202. _events:
  203. { close: [Object],
  204. end: [Object],
  205. finish: [Function: onSocketFinish],
  206. _socketEnd: [Function: onSocketEnd],
  207. secure: [Function],
  208. free: [Function: onFree],
  209. agentRemove: [Function: onRemove],
  210. drain: [Function: ondrain],
  211. error: [Function: socketErrorListener] },
  212. _eventsCount: 9,
  213. connecting: false,
  214. _hadError: false,
  215. _handle: null,
  216. _parent: null,
  217. _host: 'graph.facebook.com',
  218. _readableState:
  219. ReadableState {
  220. objectMode: false,
  221. highWaterMark: 16384,
  222. buffer: [Object],
  223. length: 0,
  224. pipes: null,
  225. pipesCount: 0,
  226. flowing: true,
  227. ended: false,
  228. endEmitted: false,
  229. reading: true,
  230. sync: false,
  231. needReadable: true,
  232. emittedReadable: false,
  233. readableListening: false,
  234. resumeScheduled: false,
  235. defaultEncoding: 'utf8',
  236. ranOut: false,
  237. awaitDrain: 0,
  238. readingMore: false,
  239. decoder: null,
  240. encoding: null },
  241. readable: false,
  242. domain: null,
  243. _maxListeners: undefined,
  244. _writableState:
  245. WritableState {
  246. objectMode: false,
  247. highWaterMark: 16384,
  248. needDrain: false,
  249. ending: true,
  250. ended: true,
  251. finished: true,
  252. decodeStrings: false,
  253. defaultEncoding: 'utf8',
  254. length: 0,
  255. writing: false,
  256. corked: 0,
  257. sync: false,
  258. bufferProcessing: false,
  259. onwrite: [Function],
  260. writecb: null,
  261. writelen: 0,
  262. bufferedRequest: null,
  263. lastBufferedRequest: null,
  264. pendingcb: 0,
  265. prefinished: true,
  266. errorEmitted: false,
  267. bufferedRequestCount: 0,
  268. corkedRequestsFree: [Object] },
  269. writable: false,
  270. allowHalfOpen: false,
  271. destroyed: true,
  272. _bytesDispatched: 562,
  273. _sockname: null,
  274. _pendingData: null,
  275. _pendingEncoding: '',
  276. server: undefined,
  277. _server: null,
  278. ssl: null,
  279. _requestCert: true,
  280. _rejectUnauthorized: true,
  281. parser: null,
  282. _httpMessage:
  283. ClientRequest {
  284. domain: null,
  285. _events: [Object],
  286. _eventsCount: 5,
  287. _maxListeners: undefined,
  288. output: [],
  289. outputEncodings: [],
  290. outputCallbacks: [],
  291. outputSize: 0,
  292. writable: true,
  293. _last: true,
  294. upgrading: false,
  295. chunkedEncoding: false,
  296. shouldKeepAlive: false,
  297. useChunkedEncodingByDefault: true,
  298. sendDate: false,
  299. _removedHeader: [Object],
  300. _contentLength: null,
  301. _hasBody: true,
  302. _trailer: '',
  303. finished: true,
  304. _headerSent: true,
  305. socket: [Circular],
  306. connection: [Circular],
  307. _header: 'POST /v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI HTTP/1.1\r\nhost: graph.facebook.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 210\r\nConnection: close\r\n\r\n',
  308. _headers: [Object],
  309. _headerNames: [Object],
  310. _onPendingData: null,
  311. agent: [Object],
  312. socketPath: undefined,
  313. timeout: undefined,
  314. method: 'POST',
  315. path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  316. _ended: true,
  317. parser: null,
  318. res: [Circular] },
  319. read: [Function],
  320. _consuming: true,
  321. _idleNext: null,
  322. _idlePrev: null,
  323. _idleTimeout: -1 },
  324. httpVersionMajor: 1,
  325. httpVersionMinor: 1,
  326. httpVersion: '1.1',
  327. complete: true,
  328. headers:
  329. { 'access-control-allow-origin': '*',
  330. 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) No matching user found"',
  331. pragma: 'no-cache',
  332. 'cache-control': 'no-store',
  333. 'x-fb-rev': '3233633',
  334. 'content-type': 'application/json',
  335. 'x-fb-trace-id': 'D7pGEJz4ize',
  336. 'facebook-api-version': 'v2.9',
  337. expires: 'Sat, 01 Jan 2000 00:00:00 GMT',
  338. 'x-fb-debug': 'kSTr/OxEDpbTjgckEwn6CaLKHPAw4GE2q4icMFiQeIBQYpwulmijfT21FAEUOCabnClCzrY8bHT+oW6bhhC4VA==',
  339. date: 'Thu, 17 Aug 2017 12:43:04 GMT',
  340. connection: 'close',
  341. 'content-length': '139' },
  342. rawHeaders:
  343. [ 'Access-Control-Allow-Origin',
  344. '*',
  345. 'WWW-Authenticate',
  346. 'OAuth "Facebook Platform" "invalid_request" "(#100) No matching user found"',
  347. 'Pragma',
  348. 'no-cache',
  349. 'Cache-Control',
  350. 'no-store',
  351. 'x-fb-rev',
  352. '3233633',
  353. 'Content-Type',
  354. 'application/json',
  355. 'x-fb-trace-id',
  356. 'D7pGEJz4ize',
  357. 'facebook-api-version',
  358. 'v2.9',
  359. 'Expires',
  360. 'Sat, 01 Jan 2000 00:00:00 GMT',
  361. 'X-FB-Debug',
  362. 'kSTr/OxEDpbTjgckEwn6CaLKHPAw4GE2q4icMFiQeIBQYpwulmijfT21FAEUOCabnClCzrY8bHT+oW6bhhC4VA==',
  363. 'Date',
  364. 'Thu, 17 Aug 2017 12:43:04 GMT',
  365. 'Connection',
  366. 'close',
  367. 'Content-Length',
  368. '139' ],
  369. trailers: {},
  370. rawTrailers: [],
  371. upgrade: false,
  372. url: '',
  373. method: null,
  374. statusCode: 400,
  375. statusMessage: 'Bad Request',
  376. client:
  377. TLSSocket {
  378. _tlsOptions:
  379. { pipe: null,
  380. secureContext: [Object],
  381. isServer: false,
  382. requestCert: true,
  383. rejectUnauthorized: true,
  384. session: undefined,
  385. NPNProtocols: undefined,
  386. ALPNProtocols: undefined,
  387. requestOCSP: undefined },
  388. _secureEstablished: true,
  389. _securePending: false,
  390. _newSessionPending: false,
  391. _controlReleased: true,
  392. _SNICallback: null,
  393. servername: null,
  394. npnProtocol: false,
  395. alpnProtocol: false,
  396. authorized: true,
  397. authorizationError: null,
  398. encrypted: true,
  399. _events:
  400. { close: [Object],
  401. end: [Object],
  402. finish: [Function: onSocketFinish],
  403. _socketEnd: [Function: onSocketEnd],
  404. secure: [Function],
  405. free: [Function: onFree],
  406. agentRemove: [Function: onRemove],
  407. drain: [Function: ondrain],
  408. error: [Function: socketErrorListener] },
  409. _eventsCount: 9,
  410. connecting: false,
  411. _hadError: false,
  412. _handle: null,
  413. _parent: null,
  414. _host: 'graph.facebook.com',
  415. _readableState:
  416. ReadableState {
  417. objectMode: false,
  418. highWaterMark: 16384,
  419. buffer: [Object],
  420. length: 0,
  421. pipes: null,
  422. pipesCount: 0,
  423. flowing: true,
  424. ended: false,
  425. endEmitted: false,
  426. reading: true,
  427. sync: false,
  428. needReadable: true,
  429. emittedReadable: false,
  430. readableListening: false,
  431. resumeScheduled: false,
  432. defaultEncoding: 'utf8',
  433. ranOut: false,
  434. awaitDrain: 0,
  435. readingMore: false,
  436. decoder: null,
  437. encoding: null },
  438. readable: false,
  439. domain: null,
  440. _maxListeners: undefined,
  441. _writableState:
  442. WritableState {
  443. objectMode: false,
  444. highWaterMark: 16384,
  445. needDrain: false,
  446. ending: true,
  447. ended: true,
  448. finished: true,
  449. decodeStrings: false,
  450. defaultEncoding: 'utf8',
  451. length: 0,
  452. writing: false,
  453. corked: 0,
  454. sync: false,
  455. bufferProcessing: false,
  456. onwrite: [Function],
  457. writecb: null,
  458. writelen: 0,
  459. bufferedRequest: null,
  460. lastBufferedRequest: null,
  461. pendingcb: 0,
  462. prefinished: true,
  463. errorEmitted: false,
  464. bufferedRequestCount: 0,
  465. corkedRequestsFree: [Object] },
  466. writable: false,
  467. allowHalfOpen: false,
  468. destroyed: true,
  469. _bytesDispatched: 562,
  470. _sockname: null,
  471. _pendingData: null,
  472. _pendingEncoding: '',
  473. server: undefined,
  474. _server: null,
  475. ssl: null,
  476. _requestCert: true,
  477. _rejectUnauthorized: true,
  478. parser: null,
  479. _httpMessage:
  480. ClientRequest {
  481. domain: null,
  482. _events: [Object],
  483. _eventsCount: 5,
  484. _maxListeners: undefined,
  485. output: [],
  486. outputEncodings: [],
  487. outputCallbacks: [],
  488. outputSize: 0,
  489. writable: true,
  490. _last: true,
  491. upgrading: false,
  492. chunkedEncoding: false,
  493. shouldKeepAlive: false,
  494. useChunkedEncodingByDefault: true,
  495. sendDate: false,
  496. _removedHeader: [Object],
  497. _contentLength: null,
  498. _hasBody: true,
  499. _trailer: '',
  500. finished: true,
  501. _headerSent: true,
  502. socket: [Circular],
  503. connection: [Circular],
  504. _header: 'POST /v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI HTTP/1.1\r\nhost: graph.facebook.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 210\r\nConnection: close\r\n\r\n',
  505. _headers: [Object],
  506. _headerNames: [Object],
  507. _onPendingData: null,
  508. agent: [Object],
  509. socketPath: undefined,
  510. timeout: undefined,
  511. method: 'POST',
  512. path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  513. _ended: true,
  514. parser: null,
  515. res: [Circular] },
  516. read: [Function],
  517. _consuming: true,
  518. _idleNext: null,
  519. _idlePrev: null,
  520. _idleTimeout: -1 },
  521. _consuming: true,
  522. _dumped: false,
  523. req:
  524. ClientRequest {
  525. domain: null,
  526. _events:
  527. { socket: [Function],
  528. response: [Function: bound ],
  529. error: [Function: bound ],
  530. drain: [Function],
  531. prefinish: [Function: requestOnPrefinish] },
  532. _eventsCount: 5,
  533. _maxListeners: undefined,
  534. output: [],
  535. outputEncodings: [],
  536. outputCallbacks: [],
  537. outputSize: 0,
  538. writable: true,
  539. _last: true,
  540. upgrading: false,
  541. chunkedEncoding: false,
  542. shouldKeepAlive: false,
  543. useChunkedEncodingByDefault: true,
  544. sendDate: false,
  545. _removedHeader: { 'content-length': false },
  546. _contentLength: null,
  547. _hasBody: true,
  548. _trailer: '',
  549. finished: true,
  550. _headerSent: true,
  551. socket:
  552. TLSSocket {
  553. _tlsOptions: [Object],
  554. _secureEstablished: true,
  555. _securePending: false,
  556. _newSessionPending: false,
  557. _controlReleased: true,
  558. _SNICallback: null,
  559. servername: null,
  560. npnProtocol: false,
  561. alpnProtocol: false,
  562. authorized: true,
  563. authorizationError: null,
  564. encrypted: true,
  565. _events: [Object],
  566. _eventsCount: 9,
  567. connecting: false,
  568. _hadError: false,
  569. _handle: null,
  570. _parent: null,
  571. _host: 'graph.facebook.com',
  572. _readableState: [Object],
  573. readable: false,
  574. domain: null,
  575. _maxListeners: undefined,
  576. _writableState: [Object],
  577. writable: false,
  578. allowHalfOpen: false,
  579. destroyed: true,
  580. _bytesDispatched: 562,
  581. _sockname: null,
  582. _pendingData: null,
  583. _pendingEncoding: '',
  584. server: undefined,
  585. _server: null,
  586. ssl: null,
  587. _requestCert: true,
  588. _rejectUnauthorized: true,
  589. parser: null,
  590. _httpMessage: [Circular],
  591. read: [Function],
  592. _consuming: true,
  593. _idleNext: null,
  594. _idlePrev: null,
  595. _idleTimeout: -1 },
  596. connection:
  597. TLSSocket {
  598. _tlsOptions: [Object],
  599. _secureEstablished: true,
  600. _securePending: false,
  601. _newSessionPending: false,
  602. _controlReleased: true,
  603. _SNICallback: null,
  604. servername: null,
  605. npnProtocol: false,
  606. alpnProtocol: false,
  607. authorized: true,
  608. authorizationError: null,
  609. encrypted: true,
  610. _events: [Object],
  611. _eventsCount: 9,
  612. connecting: false,
  613. _hadError: false,
  614. _handle: null,
  615. _parent: null,
  616. _host: 'graph.facebook.com',
  617. _readableState: [Object],
  618. readable: false,
  619. domain: null,
  620. _maxListeners: undefined,
  621. _writableState: [Object],
  622. writable: false,
  623. allowHalfOpen: false,
  624. destroyed: true,
  625. _bytesDispatched: 562,
  626. _sockname: null,
  627. _pendingData: null,
  628. _pendingEncoding: '',
  629. server: undefined,
  630. _server: null,
  631. ssl: null,
  632. _requestCert: true,
  633. _rejectUnauthorized: true,
  634. parser: null,
  635. _httpMessage: [Circular],
  636. read: [Function],
  637. _consuming: true,
  638. _idleNext: null,
  639. _idlePrev: null,
  640. _idleTimeout: -1 },
  641. _header: 'POST /v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI HTTP/1.1\r\nhost: graph.facebook.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 210\r\nConnection: close\r\n\r\n',
  642. _headers:
  643. { host: 'graph.facebook.com',
  644. accept: 'application/json',
  645. 'content-type': 'application/json',
  646. 'content-length': 210 },
  647. _headerNames:
  648. { host: 'host',
  649. accept: 'accept',
  650. 'content-type': 'content-type',
  651. 'content-length': 'content-length' },
  652. _onPendingData: null,
  653. agent:
  654. Agent {
  655. domain: null,
  656. _events: [Object],
  657. _eventsCount: 1,
  658. _maxListeners: undefined,
  659. defaultPort: 443,
  660. protocol: 'https:',
  661. options: [Object],
  662. requests: {},
  663. sockets: [Object],
  664. freeSockets: {},
  665. keepAliveMsecs: 1000,
  666. keepAlive: false,
  667. maxSockets: Infinity,
  668. maxFreeSockets: 256,
  669. maxCachedSessions: 100,
  670. _sessionCache: [Object] },
  671. socketPath: undefined,
  672. timeout: undefined,
  673. method: 'POST',
  674. path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  675. _ended: true,
  676. parser: null,
  677. res: [Circular] },
  678. request:
  679. Request {
  680. domain: null,
  681. _events:
  682. { error: [Function: bound ],
  683. complete: [Function: bound ],
  684. pipe: [Function],
  685. data: [Function],
  686. end: [Function] },
  687. _eventsCount: 5,
  688. _maxListeners: undefined,
  689. method: 'POST',
  690. callback: [Function],
  691. readable: true,
  692. writable: true,
  693. explicitMethod: true,
  694. _qs:
  695. Querystring {
  696. request: [Circular],
  697. lib: [Object],
  698. useQuerystring: undefined,
  699. parseOptions: {},
  700. stringifyOptions: [Object] },
  701. _auth:
  702. Auth {
  703. request: [Circular],
  704. hasAuth: false,
  705. sentAuth: false,
  706. bearerToken: null,
  707. user: null,
  708. pass: null },
  709. _oauth: OAuth { request: [Circular], params: null },
  710. _multipart:
  711. Multipart {
  712. request: [Circular],
  713. boundary: 'c47cbec1-c389-4921-9461-900b385d7a2a',
  714. chunked: false,
  715. body: null },
  716. _redirect:
  717. Redirect {
  718. request: [Circular],
  719. followRedirect: true,
  720. followRedirects: true,
  721. followAllRedirects: false,
  722. followOriginalHttpMethod: false,
  723. allowRedirect: [Function],
  724. maxRedirects: 10,
  725. redirects: [],
  726. redirectsFollowed: 0,
  727. removeRefererHeader: false },
  728. _tunnel:
  729. Tunnel {
  730. request: [Circular],
  731. proxyHeaderWhiteList: [Object],
  732. proxyHeaderExclusiveList: [] },
  733. headers:
  734. { accept: 'application/json',
  735. 'content-type': 'application/json',
  736. 'content-length': 210 },
  737. setHeader: [Function],
  738. hasHeader: [Function],
  739. getHeader: [Function],
  740. removeHeader: [Function],
  741. localAddress: undefined,
  742. pool: {},
  743. dests: [],
  744. __isRequestRequest: true,
  745. _callback: [Function],
  746. uri:
  747. Url {
  748. protocol: 'https:',
  749. slashes: true,
  750. auth: null,
  751. host: 'graph.facebook.com',
  752. port: null,
  753. hostname: 'graph.facebook.com',
  754. hash: null,
  755. search: '?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  756. query: 'access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  757. pathname: '/v2.6/me/messages',
  758. path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  759. href: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI' },
  760. proxy: null,
  761. tunnel: true,
  762. setHost: true,
  763. originalCookieHeader: undefined,
  764. _disableCookies: true,
  765. _jar: undefined,
  766. port: 443,
  767. host: 'graph.facebook.com',
  768. url:
  769. Url {
  770. protocol: 'https:',
  771. slashes: true,
  772. auth: null,
  773. host: 'graph.facebook.com',
  774. port: null,
  775. hostname: 'graph.facebook.com',
  776. hash: null,
  777. search: '?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  778. query: 'access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  779. pathname: '/v2.6/me/messages',
  780. path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  781. href: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI' },
  782. path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  783. _json: true,
  784. body: '{"recipient":{"id":"1117142921718529"},"message":{"text":"blablabla","quick_replies":[{"content_type":"text","title":"Tak","payload":"Pass"},{"content_type":"text","title":"Może później","payload":"Fail"}]}}',
  785. httpModule:
  786. { Server: [Object],
  787. createServer: [Function],
  788. globalAgent: [Object],
  789. Agent: [Object],
  790. request: [Function],
  791. get: [Function] },
  792. agentClass: { [Function: Agent] super_: [Object] },
  793. agent:
  794. Agent {
  795. domain: null,
  796. _events: [Object],
  797. _eventsCount: 1,
  798. _maxListeners: undefined,
  799. defaultPort: 443,
  800. protocol: 'https:',
  801. options: [Object],
  802. requests: {},
  803. sockets: [Object],
  804. freeSockets: {},
  805. keepAliveMsecs: 1000,
  806. keepAlive: false,
  807. maxSockets: Infinity,
  808. maxFreeSockets: 256,
  809. maxCachedSessions: 100,
  810. _sessionCache: [Object] },
  811. _started: true,
  812. href: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  813. req:
  814. ClientRequest {
  815. domain: null,
  816. _events: [Object],
  817. _eventsCount: 5,
  818. _maxListeners: undefined,
  819. output: [],
  820. outputEncodings: [],
  821. outputCallbacks: [],
  822. outputSize: 0,
  823. writable: true,
  824. _last: true,
  825. upgrading: false,
  826. chunkedEncoding: false,
  827. shouldKeepAlive: false,
  828. useChunkedEncodingByDefault: true,
  829. sendDate: false,
  830. _removedHeader: [Object],
  831. _contentLength: null,
  832. _hasBody: true,
  833. _trailer: '',
  834. finished: true,
  835. _headerSent: true,
  836. socket: [Object],
  837. connection: [Object],
  838. _header: 'POST /v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI HTTP/1.1\r\nhost: graph.facebook.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 210\r\nConnection: close\r\n\r\n',
  839. _headers: [Object],
  840. _headerNames: [Object],
  841. _onPendingData: null,
  842. agent: [Object],
  843. socketPath: undefined,
  844. timeout: undefined,
  845. method: 'POST',
  846. path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
  847. _ended: true,
  848. parser: null,
  849. res: [Circular] },
  850. ntick: true,
  851. response: [Circular],
  852. originalHost: 'graph.facebook.com',
  853. originalHostHeaderName: 'host',
  854. responseContent: [Circular],
  855. _destdata: true,
  856. _ended: true,
  857. _callbackCalled: true },
  858. toJSON: [Function: responseToJSON],
  859. caseless:
  860. Caseless {
  861. dict:
  862. { 'access-control-allow-origin': '*',
  863. 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) No matching user found"',
  864. pragma: 'no-cache',
  865. 'cache-control': 'no-store',
  866. 'x-fb-rev': '3233633',
  867. 'content-type': 'application/json',
  868. 'x-fb-trace-id': 'D7pGEJz4ize',
  869. 'facebook-api-version': 'v2.9',
  870. expires: 'Sat, 01 Jan 2000 00:00:00 GMT',
  871. 'x-fb-debug': 'kSTr/OxEDpbTjgckEwn6CaLKHPAw4GE2q4icMFiQeIBQYpwulmijfT21FAEUOCabnClCzrY8bHT+oW6bhhC4VA==',
  872. date: 'Thu, 17 Aug 2017 12:43:04 GMT',
  873. connection: 'close',
  874. 'content-length': '139' } },
  875. read: [Function],
  876. body:
  877. { error:
  878. { message: '(#100) No matching user found',
  879. type: 'OAuthException',
  880. code: 100,
  881. error_subcode: 2018001,
  882. fbtrace_id: 'D7pGEJz4ize' } } }
  883. send success
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement