useragent icon indicating copy to clipboard operation
useragent copied to clipboard

facebook identify as a computer instead of a robot

Open SpectatorNan opened this issue 1 year ago • 3 comments

user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 facebookexternalhit/1.1 Facebot Twitterbot/1.0

the result is desktop . image

SpectatorNan avatar Nov 27 '24 19:11 SpectatorNan

This is not actually a bot - see this post

bertold avatar Dec 13 '24 22:12 bertold

This is not actually a bot - see this post

Thank you for this link, I wasn't aware of this behavior of iMessage. I will do some tests and try to figure out how to classify this.

I was doing some tests before how various messengers fetch the page previews and which bots they are using, but obviously something has changed in the meanwhile.

mileusna avatar Dec 14 '24 15:12 mileusna

You can easily test this. Follow these steps:

  1. setup an API endpoint using Beeceptor
  2. copy the endpoint URL
  3. paste the URL into the mac or iPhone messages app
  4. head back to Beeceptor and inspect the headers

You will see something like this:

{
  "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 facebookexternalhit/1.1 Facebot Twitterbot/1.0",
  "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "en-US,en;q=0.9",
  "sec-fetch-dest": "document",
  "sec-fetch-mode": "navigate",
  "sec-fetch-site": "none",
  "x-forwarded-for": "some ip address",
  "x-forwarded-host": "bkolics.free.beeceptor.com",
  "x-forwarded-proto": "https"
}

bertold avatar Dec 14 '24 17:12 bertold