With the ever-increasing demand to integrate social media into your apps, you'll want to gain a basic understanding of how to send/post/share directly from within your app. This recipe will show you how to add Twitter posting (tweets) to your application.
We will be using the Quotes application, from the Creating a complete app with Iron Router recipe found earlier in this in this chapter. Please complete that recipe before proceeding.
We will also be using the
twit module to complete this recipe. For a step-by-step recipe with a full explanation of each step, please see the first part of the Handling asynchronous events recipe in Chapter 11, Leveraging Advanced Features.
Quickly, here are the steps you'll need ...