mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Adding new Facebook user-agent to spiderable
According to Facebook (https://developers.facebook.com/docs/sharing/webmasters/crawler), they have a new (May 2014) crawler named Facebot. Spiderable doesn't currently work for Facebot. It should. PS. I shed a tear along with @stuabilo that this is even a thing.
This commit is contained in:
@@ -14,6 +14,7 @@ var urlParser = Npm.require('url');
|
||||
// here. I shed a silent tear.
|
||||
Spiderable.userAgentRegExps = [
|
||||
/^facebookexternalhit/i,
|
||||
/^Facebot/,
|
||||
/^linkedinbot/i,
|
||||
/^twitterbot/i,
|
||||
/^slackbot-linkexpanding/i
|
||||
|
||||
Reference in New Issue
Block a user