An IP address is the location of a computer on a local network or on the Internet. The only way to obtain a user's IP address in Facebook is if they have sent you a message. The message you receive in the email from a Facebook message includes the IP address. If you have an IP address from Facebook, you can use the Microsoft Windows MS DOS prompt to trace it to a location. The "tracert" command keeps track of how many "hops" a message takes to reach the destination.
Click the Windows "Start" button. Type "cmd" into the text box and press "Enter." If you have an older Windows operating system, click "Start," select "Run" and enter "cmd" into the text box. Press "Enter" to open MS DOS.
Type "tracert IP" into the command prompt where "IP" is the IP address you received on Facebook.
Press "Enter" to execute the command. The results are listed in the MS DOS window.