User Agents and Whitelisting
What are agents and whitelisting?
A user agent is a piece of software which gathers and presents web content to a user. To do this, it uses a user-agent string which is a line of text used to identify itself to the server from which it is requesting a web page. This can be used for many purposes including:
- Displaying different content to different operating systems – for example, by displaying a slimmed-down page on mobile devices
- Serving different web pages to different web browsers
- Gathering statistics showing the browsers and operating systems in use by their users
- Allowing the agent to bypass registration screens
Allowing a user agent unrestricted access to a web page is called whitelisting.
Why are they important?
Echobox will still work without whitelisting, but its capabilities will be limited. This may mean:
- Information such as article images, titles or descriptions may be missing from Echobox
- Article scores will be less accurate
- AI Messages can't be generated
- Automatic Time Sensitivity classification will be less accurate
For the best performance, we recommend whitelisting the Echobox, Facebook and Twitter user agents.
Echobox User Agent
The Echobox user agent allows us to access all relevant content for your articles, which can then be used by Echobox to generate post previews and optimise your share timings.
Your tech team will need to whitelist Echobox based on our user agent. The user-agent string to whitelist for Echobox is:
Mozilla/5.0 (compatible; EchoboxBot/1.0; hash/w4mwnpbXf3MFAbxOkJRw; +http://www.echobox.com)
If you need a dedicated user agent or a custom request header for your site, contact your account manager or our support team.
Facebook User Agent
The Facebook user agent is used by Facebook to capture OG metadata. It is common for websites to only allow access to this data to the Facebook user agent. You can find out more details on Facebook's user agent here.
The user-agent string which needs to be whitelisted for Facebook is:
facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
Echobox and the Facebook User Agent
To read your OG tags, Echobox requests your article pages using the Facebook user agent. It fetches your RSS feeds and sitemaps as EchoboxBot.
This is because many publishers only provide OG data in their HTML source when requested by Facebook's agent. Your site may do this in an effort to remove any unnecessary metadata when it's accessed by other agents. If your CDN only lets these crawlers through from Meta's or X's IP ranges, contact support so we can fetch your site as EchoboxBot instead.
Every request Echobox makes with the Facebook user agent also carries an X-Requested-By header, so your rules can tell Echobox apart from Facebook's own crawler:
user-agent: facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
X-Requested-By: Mozilla/5.0 (compatible; EchoboxBot/1.0; hash/w4mwnpbXf3MFAbxOkJRw; +http://www.echobox.com)
Twitter User Agent
The Twitter user agent is used by Twitter to capture OG metadata. It is common for websites to only allow access to this data to the Twitter user agent. You can find out more details on Twitter's user agent here.
This is the user-agent string which needs to be whitelisted for Twitter:
Twitterbot/1.0
To read your Twitter Card tags, Echobox requests your article pages using the Twitter user agent.
This is because many publishers only provide Twitter data in their HTML source when requested by Twitter's user agent. Your site may do this in an effort to remove any unnecessary metadata when it's accessed by other agents. If your CDN only lets these crawlers through from Meta's or X's IP ranges, contact support so we can fetch your site as EchoboxBot instead.
In this case you will need to whitelist the Twitter user-agent string so we can get the Twitter data.
Every request Echobox makes with the Twitter user agent also carries an X-Requested-By header, so your rules can tell Echobox apart from Twitter's own crawler:
user-agent: Twitterbot/1.0
X-Requested-By: Mozilla/5.0 (compatible; EchoboxBot/1.0; hash/w4mwnpbXf3MFAbxOkJRw; +http://www.echobox.com)