Hi Khachik, For single-user applications like this, we've made it particularly easy to retrieve an access token for your own account -- on dev.twitter.com/appsjust navigate to the details page of your application and select the "My Token" button on the right-hand sidebar. This will provide you an access token and access token secret which you can then hard code into your application.
Additionally, we have some helpful code samples for working with the Twitter API from the starting point of already having an access token here: http://bit.ly/1token By going this route, you'll only have to implement the signing part of the OAuth spec rather than the entire token exchange/acquisition flow. Taylor On Tue, Jul 20, 2010 at 2:12 PM, Khachik Kemuschian <araratnaha...@gmail.com > wrote: > Hello, > > I'm a newbie using Twitter API and I need to write a PHP script, which > will deal with direct messages (read and create new messages) at my > own Twitter account. No authorization required for other users - only > access to my own account. I checked API docs as well as oAuth > implementations in PHP, but they seems to be a bit complex for my > understanding.... > > Is there a simple way to access personal direct messages from PHP app > (preferably without redirecting to the Twitter site to enter the > password)? > > Any example or link will be appreciated. > > Thank you in advance! >