Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (1) To Find your own facebook id, simply put this code on the address bar then press enter :
- javascript:alert('Your Facebook ID : '+Env['user'])
- (2) Find your friend or pages, Groups UID :
- javascript:x=$('content').getElementsByTagName('a');for(i=0;i<x .length;i++)if(x[i].href.indexOf('[]')>1){y=x[i].href;alert('Facebook ID : '+y.substr(y.indexOf('[]')+3));break};void(0)
- Or
- javascript:x=document.forms;for(i=0;i<x .length;i++){if(document.forms[i].xhpc_targetid){alert('Facebook ID : '+document.forms[i].xhpc_targetid.value);break}};void(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement