 url = require 'url'
 Q = require 'bluebird-q'
 request = require 'superagent'
-requestBluebird = require 'superagent-bluebird-promise'
 Backbone = require 'backbone'
 { Image } = require 'artsy-backbone-mixins'
 debug = require('debug') 'api'

    debug err if err
    cbAPI()


cleanArticlesInSailthru = (slugs = []) =>
  if slugs.length > 1
    slugs.forEach (slug, i) =>

              </figure><footer></footer></article>
</body>
</html>"
  request
    .post "https://graph.facebook.com/v2.7/#{FB_PAGE_ID}/instant_articles"
    .send
      access_token: INSTANT_ARTICLE_ACCESS_TOKEN
      development_mode: true
      html_source: html
    .end (err, response) =>
      console.log response
      cb()

postSailthruAPI = (article, tags, images, cbAPI) ->
  html = if article.send_body then getTextSections(article) else ''
