messages array issue on chatfuel Json api plugin : only text object sent but template not The Next CEO of Stack Overflowjson_encode sparse PHP array as JSON array, not JSON objectAndroid- create JSON Array and JSON ObjectHow to pass json POST data to Web API method as an object?NSJSONSerialization issues. Incorrect JSON object sent to apiChatfuel JSON API - getting messages back into chatfuelHow to send files to Chatfuel through Zapier using JSON API?How to let shopify website listen to GET request from chatfuel json api plugin?Make a python generated dynamic json readable from third part API (chatfuel)Chatfuel Show “Buy” button (via Stripe) using the JSON API block - FB Messengerhow to send a message to all users using the broadcasting api in chatfuel

Why do professional authors make "consistency" mistakes? And how to avoid them?

If I blow insulation everywhere in my attic except the door trap, will heat escape through it?

What is the purpose of the Evocation wizard's Potent Cantrip feature?

What does this shorthand mean?

Whats the best way to handle refactoring a big file?

MAZDA 3 2006 (UK) - poor acceleration then takes off at 3250 revs

How do I solve this limit?

Why here is plural "We went to the movies last night."

What happens if you roll doubles 3 times then land on "Go to jail?"

How do we know the LHC results are robust?

% symbol leads to superlong (forever?) compilations

Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?

What do "high sea" and "carry" mean in this sentence?

Customer Requests (Sometimes) Drive Me Bonkers!

Can a caster that cast Polymorph on themselves stop concentrating at any point even if their Int is low?

Visit to the USA with ESTA approved before trip to Iran

Can the Reverse Gravity spell affect the Meteor Swarm spell?

How to be diplomatic in refusing to write code that breaches the privacy of our users

Fastest way to shutdown Ubuntu Mate 18.10

Science fiction novels about a solar system spanning civilisation where people change their bodies at will

Why didn't Khan get resurrected in the Genesis Explosion?

Increase performance creating Mandelbrot set in python

Any way to transfer all permissions from one role to another?

Why does GHC infer a monomorphic type here, even with MonomorphismRestriction disabled?



messages array issue on chatfuel Json api plugin : only text object sent but template not



The Next CEO of Stack Overflowjson_encode sparse PHP array as JSON array, not JSON objectAndroid- create JSON Array and JSON ObjectHow to pass json POST data to Web API method as an object?NSJSONSerialization issues. Incorrect JSON object sent to apiChatfuel JSON API - getting messages back into chatfuelHow to send files to Chatfuel through Zapier using JSON API?How to let shopify website listen to GET request from chatfuel json api plugin?Make a python generated dynamic json readable from third part API (chatfuel)Chatfuel Show “Buy” button (via Stripe) using the JSON API block - FB Messengerhow to send a message to all users using the broadcasting api in chatfuel










0















I'm new on chatfuel bot platform.



I'm using json api plugin (As by documentation https://docs.chatfuel.com/api/json-api/json-api)



In my backend, I produce below json response for the plugin , this is my backend URL: http://185.206.145.26:12223/latestnews?locale=en_US&first%20name=John




"messages": [

"text": "Hi Fety! There are the latest news"
,

"attachment":
"type": "template",
"payload":
"template_type": "generic",
"elements": [

"image_url": "http://scd.rfi.fr/sites/filesrfi/imagecache/rfi_43_medium/sites/images.rfi.fr/files/aef_image/2019-01-11t145823z_1912744290_rc1428cade00_rtrmadp_3_sudan-protests_0.jpg",
"title": "Soudan: les manifestations se poursuivent, la répression aussi",
"subtitle": "www.rfi.fr, 2019-01-12 04:03",
"buttons": [

"type": "web_url",
"url": "http://www.rfi.fr/afrique/20190112-soudan-manifestations-poursuivent-repression",
"title": "VOIR L'ARTICLE"

]
,

"image_url": "http://scd.rfi.fr/sites/filesrfi/imagecache/rfi_43_medium/sites/images.rfi.fr/files/aef_image/2019-01-11t182406z_855534608_rc1a370ea010_rtrmadp_3_usa-shutdown-lawsuit_0.jpg",
"title": "[Reportage] «Shutdown»: un quotidien compliqué pour des milliers d'employés",
"subtitle": "www.rfi.fr, 2019-01-12 04:01",
"buttons": [

"type": "web_url",
"url": "http://www.rfi.fr/ameriques/20190112-reportage-shutdown-quotidien-complique-800000-employes",
"title": "VOIR L'ARTICLE"

]

]



]



The problem is when I call this api from blocks, Only, the text object sent and not the case for attachment.I am sure that my json structure is ok but I have to missed some tricks on chatfuel.



Thank you!










share|improve this question


























    0















    I'm new on chatfuel bot platform.



    I'm using json api plugin (As by documentation https://docs.chatfuel.com/api/json-api/json-api)



    In my backend, I produce below json response for the plugin , this is my backend URL: http://185.206.145.26:12223/latestnews?locale=en_US&first%20name=John




    "messages": [

    "text": "Hi Fety! There are the latest news"
    ,

    "attachment":
    "type": "template",
    "payload":
    "template_type": "generic",
    "elements": [

    "image_url": "http://scd.rfi.fr/sites/filesrfi/imagecache/rfi_43_medium/sites/images.rfi.fr/files/aef_image/2019-01-11t145823z_1912744290_rc1428cade00_rtrmadp_3_sudan-protests_0.jpg",
    "title": "Soudan: les manifestations se poursuivent, la répression aussi",
    "subtitle": "www.rfi.fr, 2019-01-12 04:03",
    "buttons": [

    "type": "web_url",
    "url": "http://www.rfi.fr/afrique/20190112-soudan-manifestations-poursuivent-repression",
    "title": "VOIR L'ARTICLE"

    ]
    ,

    "image_url": "http://scd.rfi.fr/sites/filesrfi/imagecache/rfi_43_medium/sites/images.rfi.fr/files/aef_image/2019-01-11t182406z_855534608_rc1a370ea010_rtrmadp_3_usa-shutdown-lawsuit_0.jpg",
    "title": "[Reportage] «Shutdown»: un quotidien compliqué pour des milliers d'employés",
    "subtitle": "www.rfi.fr, 2019-01-12 04:01",
    "buttons": [

    "type": "web_url",
    "url": "http://www.rfi.fr/ameriques/20190112-reportage-shutdown-quotidien-complique-800000-employes",
    "title": "VOIR L'ARTICLE"

    ]

    ]



    ]



    The problem is when I call this api from blocks, Only, the text object sent and not the case for attachment.I am sure that my json structure is ok but I have to missed some tricks on chatfuel.



    Thank you!










    share|improve this question
























      0












      0








      0


      1






      I'm new on chatfuel bot platform.



      I'm using json api plugin (As by documentation https://docs.chatfuel.com/api/json-api/json-api)



      In my backend, I produce below json response for the plugin , this is my backend URL: http://185.206.145.26:12223/latestnews?locale=en_US&first%20name=John




      "messages": [

      "text": "Hi Fety! There are the latest news"
      ,

      "attachment":
      "type": "template",
      "payload":
      "template_type": "generic",
      "elements": [

      "image_url": "http://scd.rfi.fr/sites/filesrfi/imagecache/rfi_43_medium/sites/images.rfi.fr/files/aef_image/2019-01-11t145823z_1912744290_rc1428cade00_rtrmadp_3_sudan-protests_0.jpg",
      "title": "Soudan: les manifestations se poursuivent, la répression aussi",
      "subtitle": "www.rfi.fr, 2019-01-12 04:03",
      "buttons": [

      "type": "web_url",
      "url": "http://www.rfi.fr/afrique/20190112-soudan-manifestations-poursuivent-repression",
      "title": "VOIR L'ARTICLE"

      ]
      ,

      "image_url": "http://scd.rfi.fr/sites/filesrfi/imagecache/rfi_43_medium/sites/images.rfi.fr/files/aef_image/2019-01-11t182406z_855534608_rc1a370ea010_rtrmadp_3_usa-shutdown-lawsuit_0.jpg",
      "title": "[Reportage] «Shutdown»: un quotidien compliqué pour des milliers d'employés",
      "subtitle": "www.rfi.fr, 2019-01-12 04:01",
      "buttons": [

      "type": "web_url",
      "url": "http://www.rfi.fr/ameriques/20190112-reportage-shutdown-quotidien-complique-800000-employes",
      "title": "VOIR L'ARTICLE"

      ]

      ]



      ]



      The problem is when I call this api from blocks, Only, the text object sent and not the case for attachment.I am sure that my json structure is ok but I have to missed some tricks on chatfuel.



      Thank you!










      share|improve this question














      I'm new on chatfuel bot platform.



      I'm using json api plugin (As by documentation https://docs.chatfuel.com/api/json-api/json-api)



      In my backend, I produce below json response for the plugin , this is my backend URL: http://185.206.145.26:12223/latestnews?locale=en_US&first%20name=John




      "messages": [

      "text": "Hi Fety! There are the latest news"
      ,

      "attachment":
      "type": "template",
      "payload":
      "template_type": "generic",
      "elements": [

      "image_url": "http://scd.rfi.fr/sites/filesrfi/imagecache/rfi_43_medium/sites/images.rfi.fr/files/aef_image/2019-01-11t145823z_1912744290_rc1428cade00_rtrmadp_3_sudan-protests_0.jpg",
      "title": "Soudan: les manifestations se poursuivent, la répression aussi",
      "subtitle": "www.rfi.fr, 2019-01-12 04:03",
      "buttons": [

      "type": "web_url",
      "url": "http://www.rfi.fr/afrique/20190112-soudan-manifestations-poursuivent-repression",
      "title": "VOIR L'ARTICLE"

      ]
      ,

      "image_url": "http://scd.rfi.fr/sites/filesrfi/imagecache/rfi_43_medium/sites/images.rfi.fr/files/aef_image/2019-01-11t182406z_855534608_rc1a370ea010_rtrmadp_3_usa-shutdown-lawsuit_0.jpg",
      "title": "[Reportage] «Shutdown»: un quotidien compliqué pour des milliers d'employés",
      "subtitle": "www.rfi.fr, 2019-01-12 04:01",
      "buttons": [

      "type": "web_url",
      "url": "http://www.rfi.fr/ameriques/20190112-reportage-shutdown-quotidien-complique-800000-employes",
      "title": "VOIR L'ARTICLE"

      ]

      ]



      ]



      The problem is when I call this api from blocks, Only, the text object sent and not the case for attachment.I am sure that my json structure is ok but I have to missed some tricks on chatfuel.



      Thank you!







      json api chatfuel






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 12 at 10:06









      FetyFety

      13




      13






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54158542%2fmessages-array-issue-on-chatfuel-json-api-plugin-only-text-object-sent-but-tem%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54158542%2fmessages-array-issue-on-chatfuel-json-api-plugin-only-text-object-sent-but-tem%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현