SHARE
TWEET

How To find Facebook ID

rehan99 Aug 25th, 2011 1,472 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (1) To Find your own facebook id, simply put this code on the address bar then press enter :
  2.  
  3. javascript:alert('Your Facebook ID : '+Env['user'])
  4.  
  5.  
  6. (2) Find your friend or pages, Groups UID :
  7.  
  8. 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)
  9.  
  10. Or
  11.  
  12. 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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top