TextFaster and TouchTexting support the apple URL scheme. To edit some text in Textfaster, just call the following URL.
keyboard://?text=Hello%20World&fromapp=mailtoWhere "fromapp" is the name of the url scheme of the calling application. When the user hits return, the text will be sent back to your application.