rehan99

How To find Facebook ID

Aug 25th, 2011
1,602
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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×