protected friends statuses not showing up and 401 not authorized

9 views
Skip to first unread message

mike...@gmail.com

unread,
Mar 10, 2008, 6:07:21 PM3/10/08
to Twitter Development Talk
I can't ever get tweets from my protected friends to show up. I can
verify my credentials fine, update my status, get my direct messages,
etc, but I can't get my protected friends timeline with: "http://
twitter.com/statuses/user_timeline/myfriendname.xml". That request
returns a 401 Authorized. I can my unprotected friends' timelines fine
with that request.

Also, I can get my timeline fine with "http://twitter.com/statuses/
friends_timeline/mikehall.xml", but my protected friends' tweets just
don't show up. This is C# by the way. Any ideas?

Thanks
Mike

Ed Finkler

unread,
Mar 11, 2008, 2:48:18 AM3/11/08
to twitter-deve...@googlegroups.com
Are you sending Basic Auth headers on all requests that require it, or
maintaining the cookie after authentication? If not, that's your
problem.

--
Ed Finkler
http://funkatron.com
AIM: funka7ron
ICQ: 3922133
Skype: funka7ron

mike...@gmail.com

unread,
Mar 11, 2008, 10:25:45 AM3/11/08
to Twitter Development Talk
First of all, I found that using "http://twitter.com/statuses/
friends_timeline.xml" rather than "http://twitter.com/statuses/
friends_timeline/mikehall.xml" gets me the protected friends' tweets,
so that's one problem solved.

I'm sending the basic auth headers on all requests that require it.
When trying to get the protected friends' timelines with "http://
twitter.com/statuses/user_timeline/myfriendname.xml" I've tried
sending it without and with the auth headers, but I get the 401 error
each time.


On Mar 11, 2:48 am, "Ed Finkler" <funkat...@gmail.com> wrote:
> Are you sending Basic Auth headers on all requests that require it, or
> maintaining the cookie after authentication? If not, that's your
> problem.
>
> --
> Ed Finklerhttp://funkatron.com
> AIM: funka7ron
> ICQ: 3922133
> Skype: funka7ron
>
Reply all
Reply to author
Forward
0 new messages