fix doc indent
more integrate api
fix chain ($) misunderstanding

add content-type https://dev.twitter.com/discussions/11280