message: Changer threadSetting to MessengerProfile in facebookBot
diff: @@ -415,7 +415,8 @@ function Facebookbot(configuration) {
  };
  facebook_botkit.api = {
  - 'thread_settings': {
  + 'thread_settings': facebook_botkit.api.messenger_profile,
  + 'messenger_profile': {
  greeting: function(greeting) {
  var message = {
  'setting_type': 'greeting',
  @@ -423,13 +424,13 @@ function Facebookbot(configuration) {
  'text': greeting
  }
  };
  - facebook_botkit.api.thread_settings.postAPI(message);
  + facebook_botkit.api.messenger_profile.postAPI(message);
  },
  delete_greeting: function() {
  var message = {
  'setting_type': 'greeting',
  };
  - facebook_botkit.api.thread_settings.deleteAPI(message);
  + facebook_botkit.api.messenger_profile.deleteAPI(message);
  },
  get_started: function(payload) {
  var message = {
  @@ -442,14 +443,14 @@ function Facebookbot(configuration) {
  }
  ]
  };
  - facebook_botkit.api.thread_settings.postAPI(message);
  + facebook_botkit.api.messenger_profile.postAPI(message);
  },
  delete_get_started: function() {
  var message = {
  'setting_type': 'call_to_actions',
  'thread_state': 'new_thread',
  };
  - facebook_botkit.api.thread_settings.deleteAPI(message);
  + facebook_botkit.api.messenger_profile.deleteAPI(message);
  },
  menu: function(payload) {
  var message = {
  @@ -457,28 +458,28 @@ function Facebookbot(configuration) {
  'thread_state': 'existing_thread',
  'call_to_actions': payload
  };
  - facebook_botkit.api.thread_settings.postAPI(message);
  + facebook_botkit.api.messenger_profile.postAPI(message);
  },
  delete_menu: function() {
  var message = {
  'setting_type': 'call_to_actions',
  'thread_state': 'existing_thread',
  };
  - facebook_botkit.api.thread_settings.deleteAPI(message);
  + facebook_botkit.api.messenger_profile.deleteAPI(message);
  },
  account_linking: function(payload) {
  var message = {
  'setting_type': 'account_linking',
  'account_linking_url': payload
  };
  - facebook_botkit.api.thread_settings.postAPI(message);
  + facebook_botkit.api.messenger_profile.postAPI(message);
  },
  delete_account_linking: function() {
  var message = {
  'setting_type': 'call_to_actions',
  'thread_state': 'existing_thread'
  };
  - facebook_botkit.api.thread_settings.deleteAPI(message);
  + facebook_botkit.api.messenger_profile.deleteAPI(message);
  },
  postAPI: function(message) {
  request.post('https://graph.facebook.com/v2.6/me/thread_settings?access_token=' + configuration.access_token,
  