HTTP Status Code 406

2 views
Skip to first unread message

cdvrooman

unread,
Mar 9, 2008, 5:11:39 PM3/9/08
to Twitter Development Talk, winke...@gmail.com
Hello,

I am using Nick Beam's Twitter interface class (http://twitter-
development-talk.googlegroups.com/web/api_class.phps.txt) to try to
create a Friendship with another user. However, I am getting back HTTP
Status Code 406 (which isn't listed in the API Documentation) without
any accompany error message description. Any clues?

After trying to create the friendship via PHP5, I tried it manually
using the same URL that his "createFriendship" functions utilizes,
i.e. http://twitter.com/friendships/create/id.format . After
validating myself in the Basic Auth dialogue, I was added.

Any ideas why this was failing from PHP5? I have cURL installed and
working because other functions like http://twitter.com/statuses/public_timeline.xml
work just fine.

Thanks,
Christopher.
Reply all
Reply to author
Forward
0 new messages