title: How to send direct messages from an application's screen_name via OAuth (Twitter)
body: <p>I'm getting a little confused on this seemingly simple concept. Basically I'm building a web app that will notify users via a Twitter Direct Message if an event occurred on their account with me. I'm building it in PHP with CakePHP as the underlying framework. I'd like to be able to send the direct message "from" the application via oAuth. I used the Twurl Console (at <a href="http://dev.twitter.com/console" rel="nofollow">http://dev.twitter.com/console</a>) to send a POST request via</p>
  
  <pre><code>http://api.twitter.com/1/direct_messages/new.xml?screen_name=&lt;my screenname&gt;&amp;text=&lt;content of dm&gt;
  </code></pre>
  
  <p>When I check my DM's I basically get a DM from myself. Is that because the Twurl console uses your screenname when sending stuff from applications or because when calling the direct_message/new.xml you are sending a DM from your account which was authenticated with the test application in Twurl. In the end I'm looking to accomplish the same thing that spontwts does - notify you via DM when something happens on your account. Any input, resources, links, or code samples are very much appreciated :)</p>