   [web] impossible to copy twitter rss ?
  I copy several rss stream from external website to my website using copy();However for a reason I don't understand, I can't copy my twitter rss.When I do the following:copy("http://twitter.com/statuses/user_timeline/122415179.rss","feed/twitter.rss");I get this error:Warning: copy(http://twitter.com/statuses/user_timeline/122415179.rss) [function.copy]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /homez.152/divideco/www/update.php5 on line 35I don't have this problem with the other rss files.Any idea ?[Edited by - rldivide on April 8, 2010 8:03:47 AM]
  You need to log into twitter to access the RSS. Very annoying...   ;Quote:Original post by RattenhirnYou need to log into twitter to access the RSS. Very annoying...Why is it that I can access http://twitter.com/statuses/user_timeline/28973052.rss w/out logging in?   ;  Compare the http request your copy() is sending with a request from your browser and figure out what needs to be faked to put twitter into a more talkative mood. It indeed doesn't need logging in.My money is on the user agent.;Quote:Original post by phresnelWhy is it that I can access http://twitter.com/statuses/user_timeline/28973052.rss w/out logging in?No idea. I have to login to get my feed.But I'm not a twitter expert, I just tried to give a hint to a possible cause.Edit: I can't type either...[Edited by - Rattenhirn on April 8, 2010 11:22:46 AM];Quote:Original post by RattenhirnQuote:Original post by phresnelWhy is it that I can access http://twitter.com/statuses/user_timeline/28973052.rss w/out logging in?No idea. I have to login to get my feed.But I'm not a twitter expert, I just tried to give a hint to a possible cause.Edit: I can't type either...Maybe you have to configure it somehow. I was personally very curious, as I use that thing as picogen's rss-feed (even though the number of subscribers is 0 right now, hopefully that will change once I get 0.3 released :D )   ;  Going way off topic now...I found this.But it kinda makes sense that the feed asks for username/password, because otherwise could figure out the RSS url of my twitter list and read the "private" messages on it...   ;  If Twitter is return the correct response, the 400 error indicates a malformed request. I can visit the link within a browser without any kind of authentication. You could try to fiddle around with headers, the following are send when using Firefox:GET http://twitter.com/statuses/user_timeline/122415179.rss Load Flags[LOAD_DOCUMENT_URI  LOAD_INITIAL_DOCUMENT_URI  ] Content Size[1059] Mime Type[application/rss+xml]   Request Headers: Host[twitter.com] User-Agent[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)] Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8] Accept-Language[en-gb,en;q=0.5] Accept-Encoding[gzip,deflate] Accept-Charset[ISO-8859-1,utf-8;q=0.7,*;q=0.7] Keep-Alive[115] Connection[keep-alive] Cookie[(anonymized)];  Would it not be more elegant to utilize the Twitter API?