This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 12345678 | |
| 123456789 | |
| 88888888 | |
| 99999999 | |
| 1234567890 | |
| 999999999 | |
| 11111111 | |
| khongbiet | |
| hoilamgi | |
| 66668888 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var email = "youremail"; | |
| var password = "yourpassword"; | |
| var BASE_URL = "https://api.facebook.com/restserver.php"; | |
| var API_SECRET = "62f8ce9f74b12f84c123cc23437a4a32"; | |
| var md5 = function(d){result = M(V(Y(X(d),8*d.length)));return result.toLowerCase()};function M(d){for(var _,m="0123456789ABCDEF",f="",r=0;r<d.length;r++)_=d.charCodeAt(r),f+=m.charAt(_>>>4&15)+m.charAt(15&_);return f}function X(d){for(var _=Array(d.length>>2),m=0;m<_.length;m++)_[m]=0;for(m=0;m<8*d.length;m+=8)_[m>>5]|=(255&d.charCodeAt(m/8))<<m%32;return _}function V(d){for(var _="",m=0;m<32*d.length;m+=8)_+=String.fromCharCode(d[m>>5]>>>m%32&255);return _}function Y(d,_){d[_>>5]|=128<<_%32,d[14+(_+64>>>9<<4)]=_;for(var m=1732584193,f=-271733879,r=-1732584194,i=271733878,n=0;n<d.length;n+=16){var h=m,t=f,g=r,e=i;f=md5_ii(f=md5_ii(f=md5_ii(f=md5_ii(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_ff(f=md5_ff(f=md5_ff(f=md5_ff(f,r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+0],7,-680876936),f,r,d[n+1],12,-389564586),m, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://graph.facebook.com/fql?q={'query1':'SELECT uid, page_id FROM page_fan WHERE uid IN | |
| (SELECT uid2 FROM friend WHERE uid1 = me())','query2':'SELECT page_id, name FROM page WHERE page_id IN (SELECT page_id FROM #query1)'} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Load all friends | |
| SELECT uid, name, pic_square FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) | |
| // Load friend profile pictures | |
| SELECT pid, src, src_big FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner=" + uid + " AND type="profile") | |
| // Load all photos from a certain person | |
| SELECT pid, src, src_big FROM photo WHERE owner=me() | |
| SELECT pid, src, src_big FROM photo WHERE owner=" + uid + " |