Go to my site http://www.homesforholidays.eu/twitter.php, log in and you get the message, this message requires a get. Why I don't know, but if you go to twitter you are already logged in????
Nico. On 30 aug, 04:23, Pete Warden <searchbrow...@gmail.com> wrote: > A late follow-up on this, but I'm hitting the same problem: > > - It's only happening with friends/ids.json, all other calls work > - Bizarrely I can call it fine from command-line curl on the same machine, > but using curl within PHP I get the error > - I've tried rejigging my curl/php code to use the in-url syntax (eg > someone:passw...@twitter... as the URL) rather than curl_setopt, with no > luck > > The documentation seems to indicate this method doesn't even require > authentication, so I'm left scratching my head. If I can create a minimal > reproducible case, I'll file an issue, but for now I just want to document > this for posterity. > > Pete > > On Sun, Jun 7, 2009 at 7:56 AM, developerinlondon > <ebilliona...@gmail.com>wrote: > > > > > > > Hi, > > > For some reason I am getting the above error message returned for a > > specific ID only: > > > curl -u username:password > >http://twitter.com/friends/ids.xml?user_id=2064571515 > > <?xml version="1.0" encoding="UTF-8"?> > > <hash> > > <request>/friends/ids.xml?user_id=2064571515</request> > > <error>This method requires authentication.</error> > > </hash> > > > Any other Twitter IDs it works fine and I get a list of IDs for them. > > Eg the following works: > > curl -u username:password > >http://twitter.com/friends/ids.xml?user_id=23943320 > > > Any ideas what I need to be doing to fix this? > > The pattern seems to be always occuring when I try a UserID with 10 > > digits. > > > Thanks, > > > Nayeem- Tekst uit oorspronkelijk bericht niet weergeven - > > - Tekst uit oorspronkelijk bericht weergeven -