Thanks! This helped. I was adding the optional param PAGE=x (where x is a number) on the url for gets. And it wasn't being sorted.
So the only problem I have left is why when I do a Http POST through Indy components to do a delete like https://api.twitter.com/1/statuses/destroy/99999999999.xml with the parameters being passed to the post. If I take this url and the parameters out and use Fiddler, it deletes it. However it gives a 401 in my app. In the app, I'm setting the contenttype as 'application/x-www-form- urlencoded' this is correct from what I know. using Indy Components V10 What could I be doing wrong? --David On Nov 10, 3:30 am, Tom van der Woerdt <[email protected]> wrote: > Looks like a Base String issue. > > Please check your Base String at <http://quonos.nl/oauthTester/>. > > Tom > > On 11/10/10 12:55 AM, DavidD wrote: > > > > > On a get of the DIRECT MESSAGES (response) > > > <hash> > > <error>Incorrect signature</error> > > <request>/1/direct_messages.xml? > > page=1&oauth_consumer_key=XXXXXX&oauth_nonce=9F8A26E63EE0F990765DBA32C5B67F60&oauth_signature_method=HMAC- > > SHA1&oauth_signature=IXRybwcP7Z5Wt3IRcFxW1FOjhGo > > %3D&oauth_timestamp=1289346103&oauth_token=XXXXXX&oauth_version=1.0</ > > request> > > </hash> > > > Anything that sticks out? > > > On Nov 8, 1:43 am, udta <[email protected]> wrote: > >> No code, No answer.... > > >> What is the lib you are using? > >> Maybe the post body's urlencoding is wrong. > >> Maybe you will meet the same problem when friendship create... > > >> At 2010-11-08 13:20:13,DavidD <[email protected]> wrote: > > >>> Also Favorites works fine. No errors. I'm not sure why this works > >>> and direct_messages doesn't, nor will destroy on a status id > > >>> I really am at a loss here. Can no one give me a pointer as to my > >>> problem? > > >>> Are there any issues with these api's? > > >>> David > > >>> On Nov 6, 5:39 pm, DavidD <[email protected]> wrote: > >>>> I am getting an 401 Unauthorized with an "Incorrect Signature" or > >>>> "Could not authenticate" error when trying to get Direct Messages > >>>> after getting an access token > > >>>> I can get a user_timeline no problem and I believe favorites but the > >>>> Direct Messages and home_timeline I get an error. > > >>>> I also have a 401 when I try and delete a tweet from the user > >>>> timeline. > > >>>> I am stuck and need help. > > >>>> Thanks! > > >>>> David > > >>> -- > >>> Twitter developer documentation and resources:http://dev.twitter.com/doc > >>> API updates via Twitter:http://twitter.com/twitterapi > >>> Issues/Enhancements > >>> Tracker:http://code.google.com/p/twitter-api/issues/list > >>> Change your membership to this > >>> group:http://groups.google.com/group/twitter-development-talk- Hide > >>> quoted text - > > - Show quoted text - -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
