I’ve searched the web up and down for hours w/o finding an answer. I simply cannot post/share my recent posts to Facebook and show anything other than the url. No image or excerpt.
I'm using Headway Wordpress Theme and Wordpress SEO to automatically add all og tags.
Here's the most recent post source og tags:
<!-- Title -->
<title>My Landlord Wants Me To Add My Boyfriend To My Lease. Do I Have To? | San Francisco Tenant Lawyers</title>
<!-- This site is optimized with the Yoast WordPress SEO plugin v1.4.24 - http://yoast.com/wordpress/seo/ -->
<meta name="robots" content="noodp,noydir"/>
<meta name="description" content="Tell your landlord that it's beneficial to her to allow you to add your boyfriend as a subtenant. If you move out she can increase the rent to market rate."/>
<link rel="canonical" href="http://crowandrose.com/2014/01/landlord-wants-add-boyfriend-lease/" />
<link rel="publisher" href="https://plus.google.com/104583554159124890350/about"/>
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="My Landlord Wants Me To Add My Boyfriend To My Lease. Do I Have To? | San Francisco Tenant Lawyers" />
<meta property="og:description" content="Tell your landlord that it's beneficial to her to allow you to add your boyfriend as a subtenant. If you move out she can increase the rent to market rate." />
<meta property="og:url" content="http://crowandrose.com/2014/01/landlord-wants-add-boyfriend-lease/" />
<meta property="og:site_name" content="San Francisco Tenant Lawyers" />
<meta property="article:publisher" content="https://www.facebook.com/pages/Crow-Rose-Attorneys-At-Law/68192891917" />
<meta property="article:author" content="https://www.facebook.com/pages/crow-rose-attorneys-at-law/68192891917" />
<meta property="article:tag" content="consent" />
<meta property="article:tag" content="Lease" />
<meta property="article:tag" content="Rent Ordinance" />
<meta property="article:tag" content="Roommates" />
<meta property="article:tag" content="Subletting" />
<meta property="article:section" content="Tenant Law" />
<meta property="article:published_time" content="2014-01-22T10:37:56+00:00" />
<meta property="article:modified_time" content="2014-01-22T10:49:27+00:00" />
<meta property="fb:app_id" content="103449812457" />
<meta property="og:image" content="http://crowandrose.com/wp-content/uploads/2014/01/gift-horse-e1390405080789.jpg" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:site" content="#Evict_This"/>
<meta name="twitter:domain" content="San Francisco Tenant Lawyers"/>
<meta name="twitter:creator" content="#https://twitter.com/evict_this"/>
<!-- / Yoast WordPress SEO plugin. -->
Until November 23, 2013. I was able to share sporadically with the thumbnail and excerpt showing. I say off and on, never consistent.
All of my Facebook post/share attempts show this in the Facebook debugger.
Response Code 403
Critical Errors That Must Be Fixed
Bad Response Code URL returned a bad HTTP response code.
Warning
Errors That Must Be Fixed
Missing Required Property The 'og:type' property is required, but not present.
The og tags are all in place and have been for years. Clearly the 'og:type' property is present.
Today I deleted my facebook app in case that was the culprit. Still all 403 errors.
I just don’t get it. Anything you can suggest? Is there something I can add to .htaccess?
My site is http://crowandrose.com.
I allowed facebook's crawlers in my .htaccess per this:
Facebook Crawler
A number of Platform services such as Social Plugins and the Open Graph require our systems to be able to reach your web pages. We recognize that there are situations where you might not want these pages on the public Internet, during testing or for other security reasons.
To facilitate this, you should make exceptions in your security systems to allow Facebook to crawl these pages by adding the following IP ranges, accurate as of March 2013.
31.13.24.0/21
31.13.64.0/18
66.220.144.0/20
69.63.176.0/20
69.171.224.0/19
74.119.76.0/22
103.4.96.0/22
173.252.64.0/18
204.15.20.0/22
2401:db00::/32
2620:0:1c00::/40
2a03:2880::/32
Please note that these IP ranges can and do change regularly, so you should periodically run the following command to receive an updated list -
whois -h whois.radb.net -- '-i origin AS32934' | grep ^route
My last question is, Where do I enter the command?
Related
I have all my metadata in my NextJS app, they are put on the root page, so the metatada appear well on my view source's page. But my Facebook open graph seems to don't reach them for an unknown reason to me.
Here my ReactJS:
<Head>
<title> Test 02 </title>
<meta property="og:title" content="An awesome endless memories's title" />
<meta property="og:url" content="somepath/digital-marketing/website-digital-gq" />
<meta property="og:description"
content="Sean Connery found fame and fortune as the
suave, sophisticated British agent, James Bond." />
<meta property="og:site_name" content="IMDb" />
<meta property="og:locale" content="en_US" />
<meta property="og:locale:alternate" content="en_GB" />
<meta property="og:locale:alternate" content="cn_CN" />
<meta property="og:image" content={localImage} />
<meta property="og:image:width" content="1600" />
<meta property="og:image:height" content="800" />
</Head>
Facebook's Sharing Debugger returns me
Inferred Property The 'og:image' property should be explicitly
provided, even if a value can be inferred from other tags. Missing
Properties The following required properties are missing: og:url,
og:type, og:title, og:image, og:description, fb:app_id
Could Not Connect To Server Check that the webserver is running, and that there
are no firewalls blocking Facebook's crawlers.
Curl Error Curl error: 56 (RECV_ERROR)
Honestly, I don't have even the beginning of a clue on this story, really, if someone has any hint, would be great,
thanks
Answer - thanks to the hints in the comments.
when you use some URI for your Facebook Open Graph, be sure to target a vali URL, seems to be exclusively the root page of your component in case of NextJS, other languages/libraries/framework could probably follow a similar pattern.
You can set it directly in the facebook sharing link in your code as following:
https://www.facebook.com/sharer/sharer.php?u=[your_operational_url]
you are not obliged to encode the URL if I trust the result of my tests. So just the text of your URL should be enought.
Good builds.
I'm building an image on the fly to attach to page to be shared on facebook. Everything seems to be going great until it hits the share dialog. Facebook doesn't seem to be scraping, because the image isn't showing up. If I refresh that dialog page, it does load the image (having crawled it from the first go?).
I've read several pages that say I need only specify og:image:width and og:image:height to allow for immediate rendering, but that doesn’t seem to be working. Here are my meta tags:
<meta property="fb:app_id" content="###"/>
<meta property="og:type" content="website" />
<meta property="og:url" content="###" />
<meta property="og:title" content="My Page Title" />
<meta property="og:description" content="My Page Description" />
<meta property="og:image" content="http://the-domain/the-image.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:type" content="image/jpeg" />
Am I missing something here?
For these kinds of issues, I recommend checking out the debugging tool that Facebook provides. It's great for quick identification of show stopping errors like you're receiving.
https://developers.facebook.com/tools/debug/
Just a couple of things to keep in mind, sometimes the image or page will time out if Facebook finds that it's taking longer than 1s to fetch the data. I've also found issues with my own implementations if the og:url is different than the page you're expecting Facebook to fetch. The two values must match, because ultimately it's the og:url value that facebook is trying to scrape.
Starting about a week ago, Facebook no longer correctly pulls my "og:image" unless I use the Facebook debug tool and click on "scape again" several times.
I receive the following error message :
The provided 'og:image' properties are not yet available because new images are processed asynchronously. To ensure shares of new URLs include an image, specify the dimensions using 'og:image:width' and 'og:image:height' tags.
My code has been working perfectly for over a year and I have made no modifications to it.
Here is my code :
<meta property="og:image" content="http://www.example.com/images/example.png" />
<meta property="og:image:width" content="220" />
<meta property="og:image:height" content="220" />
<meta property="og:type" content="article" />
<meta property="og:title" content="<Article Title>" />
<meta property="og:description" content="<Article Desc>" />
<meta property="og:url" content="<Article URL>" />
<meta property="og:see_also" content="<Article Alt URL>" />
<meta property="og:site_name" content="example.com" />
<meta property="og:locale" content="en_US" />
I've removed the real meta content, but I assure you all the meta tags are filled out correctly.
After hitting the "scape again" button a couple times, Facebook is finally able to pull the image.
There is 0.00 server load on my dedicated server so that's not the issue.
Any ideas?
It appears this was a Facebook issue, as everything magically started to work again without me making any changes.
I am trying to create meta tags for Facebook sharing option with the open graph protocol. I have different tags like in the following snippet:
<meta property="og:type" content="business.business" />
<meta property="og:url" content="http://www.mywebsite.com/journal" />
<meta property="og:image" content="http://mywebsite.com/images/stories/beautifulimagelikeyou.jpg" />
<meta property="og:site_name" content="My website" />
<meta property="og:description" content="Description of my wonderful page" />
I am looking for a meta tag to add the scheduled date of an event (e.g. a concert) and there seem to be nothing other than xxx:release-time or xxx:published-time (checked on the documenation) and ideally I am looking to add something like
<meta property="og:date" content="2016-06-06" />
or
<meta property="event:date" content="2016-06-06" />
has anyone ever used this kind of tag? because both og docs and facebook docs do not seem to include this kind of tag, and I don't know how to go about it. thank you.
I'm trying to show a thumbnail when a link to my site is shared on Facebook but it's not working properly. I have tried using the Facebook object debugger and I get the following warnings:
The og:url property should be explicitly provided, even if a value can be inferred from other tags.
The og:title property should be explicitly provided, even if a value can be inferred from other tags.
These are the meta tags I'm using:
<meta property="fb:app_id" content="227018187387679" />
<meta property="og:locale" content="en_US" />
<meta property="og:title" content="Tree Removal Gone Wrong" />
<meta property="og:type" content="video.other" />
<meta property="og:url" content="http://www.asopao.com/video/2611" />
<meta property="og:image" content="http://www.asopao.com/media/videos/tmb/2611/1.jpg" />
The URL is http://asopao.com/video/2611/tree-removal-gone-wrong
What am I doing wrong?
According to the linter:
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fasopao.com%2Fvideo%2F2611%2Ftree-removal-gone-wrong
You're missing those tags.
Here's exactly what your server is sending to facebook:
http://developers.facebook.com/tools/debug/og/echo?q=http%3A%2F%2Fasopao.com%2Fvideo%2F2611%2Ftree-removal-gone-wrong
These are the only meta tags you're sending.
<meta charset="utf-8" />
<meta name="robots" content="noodp, noydir" />
<meta name="description" content=" Facebook is a social utility that connects people with friends and others who work, study and live around them. People use Facebook to keep up with friends, upload an unlimited number of photos, post links and videos, and learn more about the people they meet." />