Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST /webhook
- Received postback for user 1117142921718529 with payload 'RESET'
- POST /webhook
- Executing (default): SELECT 1+1 AS result
- Executing (c9d8b0c6-dfa4-4d1f-a026-ce553417efcd): START TRANSACTION;
- Executing (c9d8b0c6-dfa4-4d1f-a026-ce553417efcd): SELECT `id`, `last_name`, `first_name`, `gender`, `user_index` FROM `user` AS `user` WHERE `user`.`user_index` = '1117142921718529' LIMIT 1;
- Executing (c9d8b0c6-dfa4-4d1f-a026-ce553417efcd): COMMIT;
- { id: 53,
- last_name: 'Bojara',
- first_name: 'Sebastian',
- gender: 'male',
- user_index: '1117142921718529' }
- IncomingMessage {
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: BufferList { head: null, tail: null, length: 0 },
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: true,
- endEmitted: true,
- reading: false,
- sync: true,
- needReadable: false,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: false,
- domain: null,
- _events:
- { end: [ [Function: responseOnEnd], [Function] ],
- close: [ [Function], [Function] ],
- data: [Function],
- error: [Function] },
- _eventsCount: 4,
- _maxListeners: undefined,
- socket:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 09 40 02 01 01 02 02 03 03 04 02 c0 2b 04 20 65 2d 8c 69 b9 b4 27 97 e1 70 e3 25 1c 94 a0 94 8f db 8b 14 51 74 45 1a f5 76 c0 3f 0e 3c ea 55 04 ... >,
- NPNProtocols: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener] },
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'graph.facebook.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: false,
- domain: null,
- _maxListeners: undefined,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: true,
- ended: true,
- finished: true,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: true,
- errorEmitted: false,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 691,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: [Object],
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _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: 339\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- _ended: true,
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- connection:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 09 40 02 01 01 02 02 03 03 04 02 c0 2b 04 20 65 2d 8c 69 b9 b4 27 97 e1 70 e3 25 1c 94 a0 94 8f db 8b 14 51 74 45 1a f5 76 c0 3f 0e 3c ea 55 04 ... >,
- NPNProtocols: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener] },
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'graph.facebook.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: false,
- domain: null,
- _maxListeners: undefined,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: true,
- ended: true,
- finished: true,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: true,
- errorEmitted: false,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 691,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: [Object],
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _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: 339\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- _ended: true,
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: true,
- headers:
- { 'access-control-allow-origin': '*',
- 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) No matching user found"',
- pragma: 'no-cache',
- 'cache-control': 'no-store',
- 'x-fb-rev': '3233633',
- 'content-type': 'application/json',
- 'x-fb-trace-id': 'AaCKMNFfKU6',
- 'facebook-api-version': 'v2.9',
- expires: 'Sat, 01 Jan 2000 00:00:00 GMT',
- 'x-fb-debug': 'C4iRrg7WZ+xm2eXaERjcSPXyi+KPhU7Ft3weuAfNKSDFYmzTkzVslG1krW8CNgKQdCnke3uRMRDl7MMLpuvQjg==',
- date: 'Thu, 17 Aug 2017 11:41:01 GMT',
- connection: 'close',
- 'content-length': '139' },
- rawHeaders:
- [ 'Access-Control-Allow-Origin',
- '*',
- 'WWW-Authenticate',
- 'OAuth "Facebook Platform" "invalid_request" "(#100) No matching user found"',
- 'Pragma',
- 'no-cache',
- 'Cache-Control',
- 'no-store',
- 'x-fb-rev',
- '3233633',
- 'Content-Type',
- 'application/json',
- 'x-fb-trace-id',
- 'AaCKMNFfKU6',
- 'facebook-api-version',
- 'v2.9',
- 'Expires',
- 'Sat, 01 Jan 2000 00:00:00 GMT',
- 'X-FB-Debug',
- 'C4iRrg7WZ+xm2eXaERjcSPXyi+KPhU7Ft3weuAfNKSDFYmzTkzVslG1krW8CNgKQdCnke3uRMRDl7MMLpuvQjg==',
- 'Date',
- 'Thu, 17 Aug 2017 11:41:01 GMT',
- 'Connection',
- 'close',
- 'Content-Length',
- '139' ],
- trailers: {},
- rawTrailers: [],
- upgrade: false,
- url: '',
- method: null,
- statusCode: 400,
- statusMessage: 'Bad Request',
- client:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 09 40 02 01 01 02 02 03 03 04 02 c0 2b 04 20 65 2d 8c 69 b9 b4 27 97 e1 70 e3 25 1c 94 a0 94 8f db 8b 14 51 74 45 1a f5 76 c0 3f 0e 3c ea 55 04 ... >,
- NPNProtocols: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener] },
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'graph.facebook.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: false,
- domain: null,
- _maxListeners: undefined,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: true,
- ended: true,
- finished: true,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: true,
- errorEmitted: false,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 691,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: [Object],
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _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: 339\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- _ended: true,
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- _consuming: true,
- _dumped: false,
- req:
- ClientRequest {
- domain: null,
- _events:
- { socket: [Function],
- response: [Function: bound ],
- error: [Function: bound ],
- drain: [Function],
- prefinish: [Function: requestOnPrefinish] },
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: { 'content-length': false },
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'graph.facebook.com',
- _readableState: [Object],
- readable: false,
- domain: null,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 691,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- connection:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'graph.facebook.com',
- _readableState: [Object],
- readable: false,
- domain: null,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 691,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- _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: 339\r\nConnection: close\r\n\r\n',
- _headers:
- { host: 'graph.facebook.com',
- accept: 'application/json',
- 'content-type': 'application/json',
- 'content-length': 339 },
- _headerNames:
- { host: 'host',
- accept: 'accept',
- 'content-type': 'content-type',
- 'content-length': 'content-length' },
- _onPendingData: null,
- agent:
- Agent {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object],
- requests: {},
- sockets: [Object],
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: [Object] },
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- _ended: true,
- parser: null,
- res: [Circular] },
- request:
- Request {
- domain: null,
- _events:
- { error: [Function: bound ],
- complete: [Function: bound ],
- pipe: [Function],
- data: [Function],
- end: [Function] },
- _eventsCount: 5,
- _maxListeners: undefined,
- method: 'POST',
- callback: [Function],
- readable: true,
- writable: true,
- explicitMethod: true,
- _qs:
- Querystring {
- request: [Circular],
- lib: [Object],
- useQuerystring: undefined,
- parseOptions: {},
- stringifyOptions: [Object] },
- _auth:
- Auth {
- request: [Circular],
- hasAuth: false,
- sentAuth: false,
- bearerToken: null,
- user: null,
- pass: null },
- _oauth: OAuth { request: [Circular], params: null },
- _multipart:
- Multipart {
- request: [Circular],
- boundary: 'afaf7864-6cc7-4364-857b-71243f0d9ea4',
- chunked: false,
- body: null },
- _redirect:
- Redirect {
- request: [Circular],
- followRedirect: true,
- followRedirects: true,
- followAllRedirects: false,
- followOriginalHttpMethod: false,
- allowRedirect: [Function],
- maxRedirects: 10,
- redirects: [],
- redirectsFollowed: 0,
- removeRefererHeader: false },
- _tunnel:
- Tunnel {
- request: [Circular],
- proxyHeaderWhiteList: [Object],
- proxyHeaderExclusiveList: [] },
- headers:
- { accept: 'application/json',
- 'content-type': 'application/json',
- 'content-length': 339 },
- setHeader: [Function],
- hasHeader: [Function],
- getHeader: [Function],
- removeHeader: [Function],
- localAddress: undefined,
- pool: {},
- dests: [],
- __isRequestRequest: true,
- _callback: [Function],
- uri:
- Url {
- protocol: 'https:',
- slashes: true,
- auth: null,
- host: 'graph.facebook.com',
- port: null,
- hostname: 'graph.facebook.com',
- hash: null,
- search: '?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- query: 'access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- pathname: '/v2.6/me/messages',
- path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- href: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI' },
- proxy: null,
- tunnel: true,
- setHost: true,
- originalCookieHeader: undefined,
- _disableCookies: true,
- _jar: undefined,
- port: 443,
- host: 'graph.facebook.com',
- url:
- Url {
- protocol: 'https:',
- slashes: true,
- auth: null,
- host: 'graph.facebook.com',
- port: null,
- hostname: 'graph.facebook.com',
- hash: null,
- search: '?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- query: 'access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- pathname: '/v2.6/me/messages',
- path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- href: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI' },
- path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- _json: true,
- body: '{"recipient":{"id":"1117142921718529"},"message":{"text":"Cześć undefined. Czy wyrażasz zgodę na przetwarzanie danych w celach marketingowych i zgadzasz się na otrzymywanie ofert handlowych?","quick_replies":[{"content_type":"text","title":"Tak","payload":"Pass"},{"content_type":"text","title":"Może później","payload":"Fail"}]}}',
- httpModule:
- { Server: [Object],
- createServer: [Function],
- globalAgent: [Object],
- Agent: [Object],
- request: [Function],
- get: [Function] },
- agentClass: { [Function: Agent] super_: [Object] },
- agent:
- Agent {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object],
- requests: {},
- sockets: [Object],
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: [Object] },
- _started: true,
- href: 'https://graph.facebook.com/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- req:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: [Object],
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Object],
- connection: [Object],
- _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: 339\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/v2.6/me/messages?access_token=EAAbj3Ww1zkYBAMjwuAyAG2deFgQfIoOjTqGbGMQlDLurvHMzHMeCOvBKNmqtfHwBqEg0xNUr5DIDXQ1ixuWVSoCLB0lhXke8C3SDYU6W3sySzxN4Q1F7ZBcOPVlIa4h8VW6x4EIDNDFhZA8MqMzmWWHO2MatMm5L1OR6kHDcXADj30c8LI',
- _ended: true,
- parser: null,
- res: [Circular] },
- ntick: true,
- response: [Circular],
- originalHost: 'graph.facebook.com',
- originalHostHeaderName: 'host',
- responseContent: [Circular],
- _destdata: true,
- _ended: true,
- _callbackCalled: true },
- toJSON: [Function: responseToJSON],
- caseless:
- Caseless {
- dict:
- { 'access-control-allow-origin': '*',
- 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) No matching user found"',
- pragma: 'no-cache',
- 'cache-control': 'no-store',
- 'x-fb-rev': '3233633',
- 'content-type': 'application/json',
- 'x-fb-trace-id': 'AaCKMNFfKU6',
- 'facebook-api-version': 'v2.9',
- expires: 'Sat, 01 Jan 2000 00:00:00 GMT',
- 'x-fb-debug': 'C4iRrg7WZ+xm2eXaERjcSPXyi+KPhU7Ft3weuAfNKSDFYmzTkzVslG1krW8CNgKQdCnke3uRMRDl7MMLpuvQjg==',
- date: 'Thu, 17 Aug 2017 11:41:01 GMT',
- connection: 'close',
- 'content-length': '139' } },
- read: [Function],
- body:
- { error:
- { message: '(#100) No matching user found',
- type: 'OAuthException',
- code: 100,
- error_subcode: 2018001,
- fbtrace_id: 'AaCKMNFfKU6' } } }
- send success
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement