What's the IP address range of Facebook's Open Graph crawler?

后端 未结 6 2120
北荒
北荒 2020-12-03 08:37

In order to test the Open Graph API on our preview environment, we need to poke a hole in our firewall to allow Facebook to scrape our object pages. What IP ranges should we

6条回答
  •  猫巷女王i
    2020-12-03 08:52

    New information is listed on the following URL & yes, they do have this info public.

    • https://developers.facebook.com/docs/sharing/webmasters

    Run this command to get a current list of IP addresses the crawler uses.

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

    Such as

    # For example only - over 100 in total
    31.13.24.0/21 
    66.220.144.0/20    
    2401:db00::/32  
    2620:0:1c00::/40  
    2a03:2880::/32 
    

    So yeah, the ones mentioned by DMCS, stand correct. Just wanted to verify & found this info.

    Thanks

提交回复
热议问题