Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Remove message and change HTTP verbe to Get
Browse files Browse the repository at this point in the history
  • Loading branch information
ouadie-lahdioui committed Aug 17, 2017
1 parent 03bb181 commit aaecd39
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,9 +652,8 @@ function Facebookbot(configuration) {
};

var tags = {
get_list: function(cb) {
request.post('https://' + api_host + '/v2.6/page_message_tags?access_token=' + configuration.access_token,
{form: message},
get_all: function(cb) {
request.get('https://' + api_host + '/v2.6/page_message_tags?access_token=' + configuration.access_token,
function(err, res, body) {
if (err) {
facebook_botkit.log('Could not get tags list');
Expand Down

0 comments on commit aaecd39

Please sign in to comment.