Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facebook identify as a computer instead of a robot #54

Open
SpectatorNan opened this issue Nov 27, 2024 · 3 comments
Open

facebook identify as a computer instead of a robot #54

SpectatorNan opened this issue Nov 27, 2024 · 3 comments

Comments

@SpectatorNan
Copy link

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

@bertold
Copy link

bertold commented Dec 13, 2024

This is not actually a bot - see this post

@mileusna
Copy link
Owner

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.

@bertold
Copy link

bertold commented Dec 14, 2024

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"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants