title: Using MS Access 2000 VBA to send a Direct Message via the Twitter API
body: <p>I am trying to send a direct message via the Twitter API from Access 2000 VBA.  I can post a status update to my Twitter account with the following code:</p>
  
  <p>tUsername = "TwitterUser"
     tPassword = "theirpassword"
     tStatus = "some sample text"</p>
  
  <p>xml.Open "POST", "http://" &amp; tUsername &amp; ":" &amp; tPassword &amp; "@twitter.com/statuses/update.xml?status=" &amp; tStatus, False</p>
  
  <p>This works fine, but when I try to follow the DM syntax, I get an "invalid request" -- something about the syntax where I have to specify the "-d" and the username I am not getting</p>
  
  <p>The API help page from Twitter is here:
  <a href="http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-direct_messages%C2%A0new" rel="nofollow noreferrer">http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-direct_messages%C2%A0new</a></p>
  
  <p>Thanks!</p>