News for hackers. Stuff that matters.
Re:Facebook visits pages that you post in messages and stays... by taneq on Friday July 15, 2016 @01:12AM (#12099054)
Um yeah, the moment you type/paste a link in a post, it loads a preview and tries to pick a good representative picture of the page. As far as I can tell the image is even mirrored on Facebook's CDN for faster loading. It's not like they're subtle about it.
Re:Facebook visits pages that you post in messages and stays... by squiggy22 on Friday July 15, 2016 @01:25AM (#12099106)
Correct. This is the open graph bot. You can force fb to scrape your site at will and clear the current cached image preview.

https://developers.facebook.com/tools/lint

Re:Facebook visits pages that you post in messages and stays... by antoineMoPa on Friday July 15, 2016 @01:31AM (#12099123)
This is the part that happens before you send the message. The post is talking about the automated browser that visits the link after you post it and waits for 15 seconds with socket.io (thus javascript activated).
Re:Facebook visits pages that you post in messages and stays... by taneq on Friday July 15, 2016 @02:22AM (#12099240)
Oh. Something to do with trackbacks then, maybe?
Re:Facebook visits pages that you post in messages and stays... by lbrandy on Friday July 15, 2016 @01:01AM (#12099025)
> But why?

Go ahead and post a link in a message (I chose this one: http://imgur.com/gallery/wjANVCD). A little visual preview will appear. Where do you think this comes from?

> And classify you as a good citizen for the NSA so that you don’t get killed in a drone attack

Or maybe that.

Re:Facebook visits pages that you post in messages and stays... by pshc on Friday July 15, 2016 @01:12AM (#12099055)
Occam's Razor strikes again.
Re:Facebook visits pages that you post in messages and stays... by antoineMoPa on Friday July 15, 2016 @01:11AM (#12099052)
Why stay for so long though? Fetching an image is fast and using an automated browser is a bit overkill. Maybe they wait for 15 seconds in case the server is slow...
Re:Facebook visits pages that you post in messages and stays... by corecoder on Friday July 15, 2016 @01:17AM (#12099078)
JavaScript, webfonts, XHR... In my experience, if you don't wait most of the times you get a blank page.
Re:Facebook visits pages that you post in messages and stays... by morgante on Friday July 15, 2016 @01:15AM (#12099071)
There are definitely some sites (particularly news sites) which can take 15 seconds to actually render the main content of the page.
Re:Facebook visits pages that you post in messages and stays... by GauntletWizard on Friday July 15, 2016 @01:15AM (#12099069)
Or to detect JavaScript triggered malware or other nefarious behavior. Running a full headless browser for link scanning is actually quite doable for Facebook's scale.
Re:Facebook visits pages that you post in messages and stays... by powera on Friday July 15, 2016 @01:14AM (#12099066)
Anti-virus. The post seems to be complaining that Facebook is using a browser, which probably means they're testing for malware.
Re:Facebook visits pages that you post in messages and stays... by kochthesecond on Friday July 15, 2016 @01:18PM (#12102462)
Why not both?

Also, they probably need a browser and to wait for a full render to be guaranteed a finalized image for their preview thumbnail.

Re:Facebook visits pages that you post in messages and stays... by dack on Friday July 15, 2016 @01:02AM (#12099026)
I don't think this is a big deal. You're posting a message _on their site_. It's reasonable for them to inspect the url.
Re:Facebook visits pages that you post in messages and stays... by powera on Friday July 15, 2016 @01:16AM (#12099074)
This is not secret, surprising, or newsworthy, and the implication that it's for the NSA is pure conspiracy theory.
Re:Facebook visits pages that you post in messages and stays... by umhan35 on Friday July 15, 2016 @01:24AM (#12099104)
I guess it stays for many seconds because it waits JavaScript to finish executing to get an image preview. It's not uncommon that some sites needs many seconds (or even longer) to load.
Re:Facebook visits pages that you post in messages and stays... by omarforgotpwd on Friday July 15, 2016 @01:13AM (#12099060)
Facebook probably sends an HTTP request to the link to get an image preview. I doubt that any human or computer is actually "looking" at the link for 15 seconds, more likely they just messed with the concept of time on the preview agent's Javascript interpreter so they can determine the layout of the "final page" with all animations and JS completed.
Re:Facebook visits pages that you post in messages and stays... by awqrre on Friday July 15, 2016 @01:39AM (#12099145)
also, if you want a URL to stay private, don't email it to anyone using a cloud email service (including yourself)...
Re:Facebook visits pages that you post in messages and stays... by killwhitey on Friday July 15, 2016 @12:53AM (#12099002)
Re:Facebook visits pages that you post in messages and stays... by powera on Friday July 15, 2016 @01:10AM (#12099050)
That seems different? Exposing (possibly private) URLs in messages via the API seems like a bug (though int64s aren't really guessable when you have DoS protection).

Just visiting the link shared is completely normal behavior.