Mahesh Ambig
Mahesh Ambig
I am still getting the below error though I am using babel to transpire. `TypeError: Class constructor TodoActions cannot be invoked without 'new'`
There is a separate API to do this. Refer to, [Thread Settings](https://developers.facebook.com/docs/messenger-platform/thread-settings)
Please see the sample code written for NodeJS below, import express from 'express'; var app = express(); app.post('/webhook', function (req, res) { threadSettingsAPI(); } function threadSettingsAPI(){ var messageData = {...
Refer to, [User Profile API](https://developers.facebook.com/docs/messenger-platform/user-profile) You need to send USER_ID as param to the API in order to get the user profile info.