UsernamePasswordAuthorization Issue

Aug 19, 2009 at 2:39 PM
Edited Aug 19, 2009 at 2:39 PM
Any reason why the following gives an access denied error ( i know my details are correct). Don't plan to use it much but throught it was a pretty basic test.
	UsernamePasswordAuthorization pwd = new UsernamePasswordAuthorization();
        pwd.UserName = "***";
        pwd.Password = "***";

        twitterCtx = new TwitterContext(pwd);
        var directMessages =
            from tweet in twitterCtx.DirectMessage
            where tweet.Type == DirectMessageType.SentTo
            select tweet;

        DirectMessage dm = directMessages.First();






Aug 22, 2009 at 2:59 PM

Does the unmodified sample with username/password authentication work for you?  (I'm trying to figure out if it's a bug in L2T issuing an invalid request as a result of your LINQ query, or sometihng else.)