Specific site won't embed because it blocks unknown user agents

(Tim) #1

There’s a site whose content my community posts regularly, and it won’t Onebox despite being whitelisted to force it. Its OG validates on Iframely.

Here’s an example:


Sorry if my searches for a previous answer to this were unsuccessful. Any ideas? I’m running 1.9.

(Jeff Atwood) #2

Usually this is because it is missing a text description. Does iframely validate the text description field?

(Tim) #3

Yeah, it does:

(Jeff Atwood) #4

Sure can you take a quick look @vinothkannans?

(Vinoth Kannan) #5

That website returns 403 Forbidden response whenever Discourse try to fetch the URL with request headers {"User-Agent"=>"Discourse Forum Onebox v2.0.0.beta1"}. Looks like they are blocking all the unknown user agents.

(Jeff Atwood) #6