Get Facebook data and engagement by URL

Get Facebook data and engagement by URL

Retrieve Facebook Open Graph data and social engagement by URL

Trow this tool you can get Facebook Open Graph Object data, share count, comment count and social engagement from a given url

Insert Url

Include protocol type (http or https)

What is an Open Graph protocol used for?

How does an Open Graph work?

The Open Graph protocol enables any web page to become a rich object in a social graph.

For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.

Open Graph is a technology first introduced by Facebook in 2010 that allows integration between Facebook and its user data and a website.

By integrating Open Graph meta tags into your page's content, you can identify which elements of your page you want to show when someone share's your page.

As an example, the following is the Open Graph protocol markup for this tool:

<html prefix="og: http://ogp.me/ns#">
<head>
<title>Facebook engagement by URL</title>
<meta property="og:site_name" content="dunplab.it">
<meta property="og:title" content="Get Facebook data and engagement by URL - dunplab" />
<meta property="og:description" content="Get Facebook Open Graph data and social engagement by URL: Open Graph Object data, share count, comment count and social engagement" />
<meta property="og:url" content="https://www.dunplab.it/facebook-engagement-by-url" />
<meta property="og:image" content="https://www.dunplab.it/img/dunplab_img/dunplab_fb-data.jpg" />
<meta property="og:type" content="Website">
</head>
...
</html>

Try now the Open Graph builder tool and enrich your meta tags with social graph.

How does Facebook crawler work?

Content is most often shared to Facebook in the form of a web page. The first time someone shares a link, the Facebook crawler will scrape the HTML at that URL to gather, cache and display info about the content on Facebook like a title, description, and thumbnail image.

Apart from the webpage being directly shared on Facebook, there are other ways that can trigger a crawl of your webpage. For example, having any of Facebook's social plugins on the webpage can cause Facebook crawler to scrape that webpage.

The Facebook crawler needs to be able to access your content in order to scrape and share it correctly. Your pages should be visible to the crawler. If you require login or otherwise restrict access to your content, you'll need to whitelist Facebook crawler.

Note that Facebook crawler only accepts gzip and deflate encodings, so make sure your server uses the right encoding.

Your website should either generate and return a response with all required properties according to the bytes specified in the range header of the crawler request or it should ignore the Range header altogether.

Note that the Facebook crawler will scrape your page every 30 days and it only scraps the first 1 MB of a page, so any Open Graph properties need to be listed before that cutoff.

The Facebook crawler can be identified by either of these user agent strings:

facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
//or//
facebookexternalhit/1.1
//or//
Facebot

Share this tool

Did u like it? Share it!

Related tools

Try these one!
Validate your AMP pages

AMP VALIDATOR

Validate your AMP pages with this tool.

Test your Accelerated Mobile Pages, get detailed report and optimize performance.

GO VALIDATE
Network requests and timeline waterfall

NETWORK WATERFALL

Capture web page requests and timeline waterfall.

Quickly capture and analyze web page network requests during page load.

GO ANALYZE
Test your page structured data

STRUCTURED DATA TEST

Test your web pages structured data.

Check conformity of your structured data json-ld and improve your SEO.

GO TESTING
Test your page speed insights

PAGESPEED INSIGHTS

Analyze your web page speed performance.

Retrieve information about speed index, latency, first contentful paint and more.

GO ANALYZE