Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Anyone have a list or link to Facebook bot traffic IP Addresses?

chrish32988386
Level 2
Level 2

I'm wanting to add an IP Address filter for Facebook Bot traffic (when creating ads they hit each URL to ensure it's active) but have not been able to find a definitive list, just a string to see the "most current subset". Anyone out there happen to have the static range of IP address?

TIA

-CHill

1 Accepted Solution
Asheesh_Pandey
Correct answer by
Community Advisor
Community Advisor

Hey Chrish,

If you not already doing use processing rule to set user agent string in a prop? do set it, once done you can simply create a exclude segment to match following user agent strings -

facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)

or

facebookexternalhit/1.1

or

Facebot

However FYI! Facebook bot uses the different ip address, you can run the command to get the current list of ip address the facebook bot uses.

whois -h whois.radb.net -- '-i origin AS32934' | grep ^route 

It will return a list of IP addresses that change often.

Thanks,

Asheesh

View solution in original post

1 Reply
Asheesh_Pandey
Correct answer by
Community Advisor
Community Advisor

Hey Chrish,

If you not already doing use processing rule to set user agent string in a prop? do set it, once done you can simply create a exclude segment to match following user agent strings -

facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)

or

facebookexternalhit/1.1

or

Facebot

However FYI! Facebook bot uses the different ip address, you can run the command to get the current list of ip address the facebook bot uses.

whois -h whois.radb.net -- '-i origin AS32934' | grep ^route 

It will return a list of IP addresses that change often.

Thanks,

Asheesh

View solution in original post