1054
|
1 Small scenario notes by Craig:
|
|
2
|
|
3 Here's the scenario:
|
|
4
|
|
5 The pager does the normal cookie retrieval thing with
|
|
6 http://msg.edit.yahoo.com:80/config/ncclogin?.src=bl&login=<USERID>&passwd=<PASSWORD>0&n=1&t=1
|
|
7
|
|
8 which gives you the cookies
|
|
9 (Y=n=<NSUBCOOKIE>&l=<LSUBCOOKIE> is all you need to keep).
|
|
10
|
|
11 ( I was thinking that we might include a configurable option to "put" this into Netscape's cookies file
|
|
12 just like the Win32 version does. )
|
|
13
|
|
14 Then:
|
|
15
|
|
16 http://msg.edit.yahoo.com:80/config/get_buddylist?.src=bl&.l=<USERID>
|
|
17
|
|
18 if given the cookies
|
|
19 Y=v=1&n=<NSUBCOOKIE>&l=<LSUBCOOKIE> (where <NSUBCOOKIE> and <LSUBCOOKIE> were retrieved from ncclogin)
|
|
20 gives you the buddies list as:
|
|
21
|
|
22 BEGIN BUDDYLIST
|
|
23 <GROUP>:ID[,IDn]*
|
|
24 END BUDDYLIST
|
|
25 BEGIN IGNORELIST
|
|
26
|
|
27 END IGNORELIST
|
|
28 BEGIN IDENTITIES
|
|
29 <PRIMARYID>[,<OTHERID>]*
|
|
30 END IDENTITIES
|
|
31 Mail=<UNREADMAIL>
|
|
32 Login=<PRIMARYID>
|
|
33
|
|
34 You can get details of the people in your Yahoo! Address book for which you have mentioned their Messenger ID with:
|
|
35
|
|
36 http://uk.address.yahoo.com:80/yab/uk/yab?v=PG&A=s
|
|
37 with cookies Y=v=1&n=<NSUBCOOKIE>&l=<LSUBCOOKIE>
|
|
38 gives:
|
|
39
|
|
40 1^I
|
|
41 <ID>:<FIRSTNAME>^I<LASTNAME>^I<EMAILNICKNAME>^I<EMAIL>^I<HOMEPHONE>^I<WORKPHONE>^I[01]^I<ENTRYID>
|
|
42
|
|
43 (the [01] is 0 if the entry's Primary phone is "Home"
|
|
44 and 1 if it's "Work")
|
|
45
|
|
46 so for me it **might** be:
|
|
47
|
|
48 ranec:Craig^IEmery^Iranec@yahoo.com^I+44 UK work^I+44 UK home^I1^I123
|
|
49
|
|
50 ( I **really** want to get these entries retreived by libyahoo so I can use them as tool-tips on your friend's id's just like the
|
|
51 Win32 version does. )
|
|
52
|
|
53 Anyway after loging in and getting the buddies list and your address book entries, it periodically opens a connection to:
|
|
54
|
|
55 http://http.pager.yahoo.com:80/notify/
|
|
56
|
|
57 and I don't know the details of this traffic 'cause I've got no packet sniffing on Win23 (NT actually).
|
|
58
|
|
59 Has anyone else out there traced any of the "notify" traffic?
|
|
60
|
|
61 All I need is this and I can get GtkYahoo working entirely over HTTP (even HTTP proxies) and firewalls become irrelevant!
|