Facebook Sharing, Open Graph, and Foreign Languages

1 month ago
We are in the USA but also have several languages installed.  We do not use SEO friendly URLs with multiple languages enabled, nor do we have "Automatically detect language" checked for localization.  

I would prefer to not have localization in our URLs, but the problem is when Facebook scrapes our site the results are always in some foreign language other than English.  It should default to "en_US" however it's always a random language instead: https://developers.facebook.com/docs/sharing/webmasters/

I have generate "Open Graph META tags" checked, and have also tried a
Custom <head> tag of "<meta property="og:locale" content="en_US" />" to force English.  

When I view my home page source I see the custom og:locale tag, but do not see any other Open Graph tags like og:url, og:title, or og:image.  

I then see that Open Graph Meta Tags are generated in "ProductTemplate.Simple.cshtml", but even when viewing a product it ignores en_US for some other language.

E.G. below is a screenshot of what appears to be Greek.  Could it be the 302 redirect to the login page?  I allow guests to navigate in the ACL but it's not immediately clear why a search engine would get redirected to login.

1 month ago
Interesting that Facebook claims most of the Open Graph properties are missing too:
"Missing Properties  The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id"

Despite them clearly being in the source:
view-source:https://www.af1racing.com/Hepco-Becker-Rear-Rack-Kit-Caponord-1200


<!DOCTYPE html>
<html lang="en"  class="html-product-details-page">
    <head>
        <title>AF1 Racing. Hepco &amp; Becker Rear Rack Kit - Caponord 1200</title>
        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
        <meta name="description" content="Hepco &amp;amp; Becker Rear Rack Kit for &#x27;14-&#x27;17 Caponord 1200" />
        <meta name="keywords" content="" />
        <meta name="generator" content="nopCommerce" />
      <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
        <meta property="og:locale" content="en_US" />
<meta property="og:type" content="product" />
<meta property="og:title" content="Hepco &amp; Becker Rear Rack Kit - Caponord 1200" />
<meta property="og:description" content="Hepco @ Becker Rear Rack Kit for &#x27;14-&#x27;17 Caponord 1200" />
<meta property="og:image" content="https://www.af1racing.com/images/thumbs/006/0061305_hepco-becker-rear-rack-kit-caponord-1200_320.jpg" />
<meta property="og:image:url" content="https://www.af1racing.com/images/thumbs/006/0061305_hepco-becker-rear-rack-kit-caponord-1200_320.jpg" />
<meta property="og:url" content="https://www.af1racing.com/Hepco-Becker-Rear-Rack-Kit-Caponord-1200" />
<meta property="og:site_name" content="AF1 Racing Online Store" />
<meta property="twitter:card" content="summary" />
<meta property="twitter:site" content="AF1 Racing Online Store" />
<meta property="twitter:title" content="Hepco &amp; Becker Rear Rack Kit - Caponord 1200" />
<meta property="twitter:description" content="Hepco @ Becker Rear Rack Kit for &#x27;14-&#x27;17 Caponord 1200" />
<meta property="twitter:image" content="https://www.af1racing.com/images/thumbs/006/0061305_hepco-becker-rear-rack-kit-caponord-1200_320.jpg" />
<meta property="twitter:url" content="https://www.af1racing.com/Hepco-Becker-Rear-Rack-Kit-Caponord-1200" />
1 month ago
I verified that the FB bot was being redirected to login, which really screamed of ACL restrictions.  

After verifying everything here:
https://developers.facebook.com/docs/sharing/webmasters/crawler

and then going down a black hole chasing _userAgentHelper.IsSearchEngine(), _crawlerUserAgentsRegexp.IsMatch(userAgent), and parsing the App_Data/browscap.crawlersonly.xml file it finally dawned on me to add the "Guest" user role to user #2 ([email protected]_engine_record.com) and voila, everything in English and all of the Open Graph tags are there as expected: