diff options
author | ikeblaster <ike@thez.info> | 2019-06-15 14:55:37 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-06-16 22:40:04 +0300 |
commit | 1418e434c8734277480da28e828705d0336058b8 (patch) | |
tree | 4defa3380d87c3e2764b2dab0765c76f718b64da /protocols/FacebookRM/src/contacts.cpp | |
parent | 34967c6ad0a420ac99c1b873b569208bdb88782e (diff) |
Facebook - alternative loading of contacts' statuses
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r-- | protocols/FacebookRM/src/contacts.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp index 15471d2819..30271d8bb0 100644 --- a/protocols/FacebookRM/src/contacts.cpp +++ b/protocols/FacebookRM/src/contacts.cpp @@ -715,3 +715,22 @@ HttpRequest* facebook_client::userInfoAllRequest() return p; } + +HttpRequest* facebook_client::buddylistUpdate() +{ + HttpRequest *p = new HttpRequest(REQUEST_POST, FACEBOOK_SERVER_MOBILE "/buddylist_update.php"); + + p->Body + << CHAR_PARAM("data_fetch", "true") + << CHAR_PARAM("m_sess", "") + << CHAR_PARAM("fb_dtsg", dtsg_.c_str()) + << CHAR_PARAM("jazoest", "21824") + << CHAR_PARAM("__dyn", __dyn()) + << CHAR_PARAM("__req", __req()) + << CHAR_PARAM("__ajax__", "") + << CHAR_PARAM("__user", self_.user_id.c_str()); + + // send_full_data=true sends more data + + return p; +} |