Does Facebook infer OpenGraph descriptions from page content when missing? - facebook

This is not my website/I have no connection to it, but I'm trying to understand how Facebook gets content using OpenGraph tags exactly - specifically, if a tag is missing does it attempt to read website content to generate one? And if so, is there a programmatic way to tell if Facebook has done this?
The example: This website for a nonprofit called Hekima Place doesn't have an og:description meta tag, as the Facebook Sharing Debugger reveals. However, it still gets an og:description value and a proper description in the card, which seems to match a "What We Do" section's <p> tag further down on the page.
When checking the Facebook Open Graph Object Debugger for this site, it doesn't seem to mention that the description is inferred anywhere. Is it also possible that such a description might have been entered somewhere in a Facebook dashboard to fill in that data?
Thanks in advance!

Related

How to customise Facebook shares

I've successfully added a Share button to my website using the following code:
https://developers.facebook.com/docs/plugins/share-button
It produces a popup with a link to the og:url along with the title of the linked page and a picture from it, which I can then post, and it shows up on my Facebook.
I am having 3 issues with this:
I've update the og:url and data-href after page load, using jquery, but the new values get ignored when I Share.
the og:title, og:description, and og:image don't appear to be used at all.
Sometimes I'd like to Share some custom text (and images if possible) without any url.
I'm aware that Facebook provide other tools/APIs that provide more versatility but it seems that would mean my site would have to go through a review process, and I'd have to code for security. This is not an option and I want to stick to the popup method.
Hope someone can help. Many thanks.
If the tags do not change when posting, refresh (and test) the tags in the debugger: https://developers.facebook.com/tools/debug/sharing/
Dynamically created Open Graph tags (with JavaScript) will be ignored, the tags have to be in the original page source.

Facebook sharer is not working as expcted

I have inserted the OG meta tags in my pages and also have provided a simple link to help users share the contents on the Facebook using the
https://www.facebook.com/sharer/sharer.php?u=[the-urlencoded-link-to-my-page]
link. But I have two problems:
When attempting to share the content for the first time, the
Facebook sharer page only displays a preview box which only contains
the name of the site, and makes me use the Facebook's Object
Debugger to
fetch the meta tags. How can I automate this process?
And secondly, while the Object Debugger report says that it has
found the og:url, og:type, og:title, og:locale,
og:image:width, og:image:height, og:image and the
og:description raw tags on the page, but the image doesn't get
displayed in neither the preview box of the page nor on the shared
status. What I have missed? What's wrong?
To make things clear, sharing on google+ works perfectly (the image gets displayed, the title and the descriptions are in place.)
Thanks in advance :)

Open Graph Object Debugger does not match Facebook Share from site

I am implementing a facebook share button in an angularjs app and after doing all the necessary stuff to get my meta tags updated and read by Facebook's crawler, I am seeing a mismatch between Facebook's debugger tool and what the share dialog shows.
If I run the debugger on my link, I get a successful scrape that pulls all of the meta tag content and shows what the share dialog should look like. Then if I click on the preview to see that actual share dialog, I get a different result as if it is not reading the meta tag content. The same goes for the share button on my actual website.
Any thoughts?
This might be an issue with protocol inconsistancy. Check you're not using http:// on the debugger, vs https:// on the actual site, and vice versa. Ensure all of your og tags have the correct protocol set, and that the protocol is not omitted.
Facebook provides a javascript SDK where you can specify what data you want to be in your popup. If you want complete control over the dialog then it would probably be best to use FB.ui to do so.

og:title and og:description ignored in Facebook Like button

I'm trying to implement the 'Like' Facebook button on my webpage. I've followed the instructions on FB Like Button Reference, and the main functionalities seem to be working Ok.
However, there are a couple of things that I couldn't make them work: the og:title and og:description meta tags. It looks like they are simply ignored when I post to Facebook.
This is the list of key information that may be helpful:
My Facebook web page: www.facebook.com/zuzsso, and I've configured it as follows:
My webpage is www.zuzsso.com
The header source code of my webpage looks like this, where I've set the tags og:title and og:description
The FB scraper shows this information when debugging the URL http://www.zuzsso.com:
Also, this is how the scraper sees my page:
However
When I log in Facebook as someone else and go to my webpage and like it, this is what I see:
Given all this info, shall I assume that I misunderstood how the Like button works or is it there definitely a problem with FB or my own configurations?
Thanks a lot for your time hand help.
N

Working with Facebook like API and opengraph

The Documentation from facebook isn't understandable, atleast for me.
I have never worked before with facebook and had a basic requirement of putting a like button on Product pages.
So yesterday, I added the OpenGraph meta tags and like button to my Product pages as stated in this documentation, https://developers.facebook.com/docs/opengraph/. I also created an app, as the document stated that it has extended the basic meta data to add a required field to connect your webpage with Facebook: fb:app_id.
The like button has been set but i have few queries which are as following :-
For some pages, the like button doesn't read the og tags. Rather than publishing the whole thing in a story manner by reading og tags, it just shows a link. During googling, I read it happens because of facebook caching and since, I shared the link on facebook before putting the meta-tags, this is happening. So, Is there any way that I can direct facebook to reset all the caching for my pages or scraping that it has done earlier.
Though I have created the App, I actually have no idea what to do with it. Why is it needed and what matters it can help me with.
I tested one of my URLs here: Facebook Linter but it shows some error and stuff which i can't understand. Below is the image. Please tell if I have done anything wrong and why it's showing these errors
Documentation for OpenGraph on Facebook containing outdated information about pre-defined types, see OpenGraph Types. You probably need to define your custom Object Type "Product" in for your Application/Site using Developer Application in Open Graph settings.
You may want to read Documentation for OpenGraph beta too.
Update:
There is a similar question about exactly this og:type: Opengraph meta tag og:type set to “product” errors (like button & URL linter/debug)