How to send raw rich content

Updated 3 months ago by Matthew Clementson

Generate the following JSON. Put the fall-back text into the text field. Put the content-type into the type field in the Facebook node. Put the content URL into the url field in the payload node.

{
             "text":"picture of a kitten",
             "facebook":{
                "attachment":{
                   "type":"image",
                   "payload":{
                      "url":"<img src="https://media2.giphy.com/media/102mqDgAb4Kfug/giphy.gif">"
                   }
                }
             }
          }
          
          

Type can be one of

  • image
  • audio
  • video
  • file

See Facebook's documentation for more details. Content Types


How did we do?