From IMFreedom Wiki
Revision as of 19:00, 10 June 2010 by (talk) (revert spam)

Facebook uses asynchronous javascript calls (ajax) with responses in javascript object notation (JSON) over an HTTP connection (port 80).

Login is HTTP posted to https://login.facebook.com/login.php with POST data md5pass=0&noerror=1&email={email}&pass={pass} where {email} and {pass} are the user who is logging in's facebook email and password respectively. The cookies that are set by the server must be sent during every POST and GET request to the server(s) below

Every user on Facebook has it's own unique id (UID) number which can be found easiest in the URL of their profile eg "http://www.facebook.com/profile.php?id=1234567890" but can also be done via a search query to http://www.facebook.com/srch.php?nm={search termhere} and is stored in the cookie with name "c_user". Facebook chat uses these UID's for sending and receiving instant messages.

Visibility is updated by sending an HTTP POST to htttp://apps.facebook.com/ajax/chat/settings.php with the POST data visibility=true&post_form_id=1234 where post_form_id is an arbitrary id that will be used throughout the process of communication (the facebook response normally modifies the html that is contained within this form, and needs this id to target it)

The buddy list is fetched via POST to http://apps.facebook.com/ajax/presence/update.php with POST data notifications=1&popped_out=false&force_render=true&buddy_list=1

Previous history of chat with another user is requested via POST to http://apps.facebook.com/ajax/chat/history.php with POST data id=596176850&post_form_id=1234 where id is set to the UID of the user you wish to download history of

Messages are sent via HTTP POST to http://www.facebook.com/ajax/chat/send.php with POST data msg_text={message}&msg_id=3409501070&client_time={timestamp}&to={uid}&popped_out=true&num_tabs=1&post_form_id=1234 where {message} is the urlencoded text that is being sent, {timestamp} is the local unix timestamp of the sender and {uid} is the UID of the user to send to

Messages are retreived by polling http://{1-30}.channel{1-20}.facebook.com/x/{UID}/false/p_{yourUID}={requestnumber}& using an HTTP GET request (not sure what the false bit is, but it can be true too), where the {UID} is the uid of the buddy to download messages from and {requestnumber} is an incrementing number, probably to work around proxy/browser caches. The message that is returned from the server is like

for (;;);{"t":"msg","c":"p_800753867","ms":[{"type":"msg","msg":{"text":"i'm sending u a message","time":1209548203464,"clientTime":1209548202312,"msgID":"3409501070"},"from":800753867,"to":596176850,"from_name":"Eion Robb","to_name":"Jeremy Lawson","from_first_name":"Eion","to_first_name":"Jeremy"}]}

and are in JSON. Messages that are sent to a buddy are also returned back by the server.

Setting a status message is done by POSTing status={status_message_here} to www.facebook.com/updatestatus.php

It has been announced that Facebook will expose an XMPP interface to Facebook's chat and presence.

I love this site <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1510 ">teen butt jpg bikini lolita</a> 11977 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10807 ">littl lolita hairy photo</a> mjgu <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10793 ">my little loli tgp</a> =OO <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10726 ">url http knowcyberallwebcom all6 pthc lolita</a> 6752 <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1628 ">nude lolita top 50 photos sites</a>  %-((( <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10951 ">incest rape lolita sex galleries</a>  :-PP <a href=" http://epigenomics.ncu.edu.tw/phpBB3//viewtopic.php?f=2&t=2147 ">free nude kids girl</a> 8OOO <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10795 ">hot petite gothic lolita nn bbs</a> >:-[[ <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10540 ">underage lolitas forums</a> 762 <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1342 ">russian panty models lolita</a> 95127 <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1616 ">lolita nymphets free pics</a> >:-((( <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=11023 ">little nud lolitas</a> 8-PP <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=11041 ">young lolitas ls</a> 695291 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=11025 ">lolita young blowjob pics </a> xprmel <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10971 ">loli ranchi bbskiddiesex</a> 3768 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=11017 ">lolitas angels babe movie</a> 366175 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10701 ">pre lolitas young underwear pussy</a> xfo <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1573 ">lolita teen pussy pic net</a> 8)) <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1426 ">cgiworld bbs lolita</a> tukihg <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10691 ">lolitas photos shocking</a> decsod <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1622 ">lolita bbs pictures</a> oejn <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1464 ">real lolita teenie vids</a> 52658 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10728 ">lolita bbs boys</a> 184 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10642 ">imgboard japan loli</a> zpkgm <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10594 ">lolita lolita 10 yo</a>  :-) <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10973 ">underage jailbait preteen lolita</a> jwdkf <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1241 ">lolas nude pictures</a> 043774 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10715 ">preteen fuck top 100 lolita russian</a> mth <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10685 ">lolitas bbs 3d</a> 0627 <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1358 ">nude tiny lolita ass</a> =-( <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10533 ">big tit loli</a> >:PPP <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1468 ">rika nishimura bbs top lolita</a> :OOO <a href=" http://epigenomics.ncu.edu.tw/phpBB3//viewtopic.php?f=2&t=2148 ">little ladies of the night</a> 8298 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10945 ">loli big tits pics</a> 660187 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10956 ">lola nude bbs</a>  %((( <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10806 ">16yo lolita pics</a> 837496 <a href=" http://epigenomics.ncu.edu.tw/phpBB3//viewtopic.php?f=2&t=2166 ">bbs kid pic</a> 6288 <a href=" http://epigenomics.ncu.edu.tw/phpBB3//viewtopic.php?f=2&t=2095 ">young blonde teens braces fucked</a> 474240 <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1492 ">mini model nude lolita</a> xgnl <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1486 ">loli sex xxx xxx</a> %PP <a href=" http://epigenomics.ncu.edu.tw/phpBB3//viewtopic.php?f=2&t=2121 ">naked young 13 yo</a> 218 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10576 ">preteen nude lolicon</a> zgncy <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1609 ">nakeed lolitas</a> =-OOO <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1224 ">little lola ebony models</a> govq <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10906 ">nn loli toplist</a> 401294 <a href=" http://epigenomics.ncu.edu.tw/phpBB3//viewtopic.php?f=2&t=2117 ">cultural traditions in hati female virginity teasting</a> 065076 <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1613 ">my asian lolitas pics</a> 7937 <a href=" http://phpsrv.nutn.edu.tw/~nutnfami97/phpbb//viewtopic.php?f=5&t=1580 ">dark collection lolitas</a>  %-]] <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10913 ">lollipics </a> 606 <a href=" http://www.iesanpablo.edu.co/foros//viewtopic.php?f=2&t=10997 ">photos lolits</a> >:-P