Saturday 10 August 2013

how to get friend's ip address using Facebook

How to Get Friend's IPAddress from Facebook Facebook is now a popular wayto communicate with eachother from all over the world.Sometimes we also want toidentify the person whom weare speaking with, this onlycan be done by knowing his/herIP Address. Getting IP Addressfrom Facebook Chat isn't easy,what we are going to show youis PHP script that you'll host ona free webhosting site thensend the link and retrieve theIP Address.How to Get Friend's IP Addressfrom Facebook Chat Step 1 (Creating PHP File)1) Create a new text documentand edit it.2) Write the following PHP codeinside it:3) Replace "ztuts.com" with anyother link (picture link...)4) Save that as : anything.php(e.g: ip.php) Step 2 ( Webhosting )You can Signup for an accountin any Free webhosting service1) Go to x10hosting2) Signup for an account( choose a right domain namee.g : razor.x10.mx )3) After creating an account onx10hosting, go to the FileManager and open the public_html directory4) Click Upload, and select thePHP file that you created onStep1.4 (ip.php)5) Select all permissions fromRead/Write/Execute (777) Step 3 (Get IP Address )After setting up an account anduploading the .PHP File, it'stime to get IP Address ofany Friend on Facebook 1) Go to the domain that youcreated in Step2.2 in myexample razor.x10.mx 2) You'll see the PHP file thatyou created, right click>CopyAddress Link 3) The link will be somethinglike this : yourdomain.x10.mx/anything.phpIn our example it willbe: razor.x10.mx/ip.php 4) Send that link to any of yourfriends, after he/she clicks onthe link, he/she will beredirected to the link that youreplaced in step1.3 (in myexample : ztuts.com ) 5) Go to your domain nameagain like step1 (e.g:razor.x10.mx) 6) You'll see a new textdocument named ip_log.txt 7) Click that file, you'll get all IPAddresses of your friends thataccessed that link.Done! Now you can track theirIP Location using IP Tracer

No comments:

Post a Comment