Finally got the functionality of generating and posting the tweet on the html page. Jason played a large role in helping me resolve the challenges with connecting the lib to controller and then to the ajax on the view.