Skip to main content

Change the old description, title or image shown from a blog/website shared on Facebook or add Open Graph protocol

The Open Graph protocol is used to allow web pages to have a rich set of objects in a social graph.

To turn web pages into the graph object, basic meta tags need to add in the pages.

How to add it:

  • Specify additional meta tags in the <head> section of a blog/website. Eg.

<head>
    <!-- opengraph - ddtechone.blogspot.com -->
    <meta content='DD Tech' property='og:title'/>
    <meta content='Startup: Tech Talk' property='og:description'/>
    <meta content='http://ddtechone.blogspot.my' property='og:url'/>
    <meta content='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf9QrQViNGpZrG_plwC_6dkACpp5CGlS8wT2QXxnpFdezL0f8kDpTpaM3WiEhqNhHkX5Y__i8jC3TMah3PGXivm64MHHRYTmmzU8T2CsB1vwCT_yq3uboNJrXfOHkiZila2bslnKhK/s1600/IMG_20150601_132034.jpg' property='og:image'/>
</head>

  • Save it.

Now if you share your blog/website on Facebook, old description, title or image of the blog/website will be updated.

You can debug your blog/website using Facebook Debugger Tool to see how it appears on Facebook.

There are a lot of Open Graph tags available. You can go through the Open Graph protocol for more info.

Comments

Popular posts from this blog

WhatsApp Text Formatting!

WhatsApp rolls out text formatting options including bold , italic , strike-through and combinations of these in messages. It can be done as below. Bold using asterisk: *bold text* Italic using underscore: _italic text_ Strike-through  using tilde: ~strikethrough text~ Combination for bold and italic : *_bold italic_* Thank you!

How to run and read ping test in Windows, Networking!

Ping is a network utility program to test if a particular host is reachable. It   uses the internet connection to send out packets of data to a host and are sent back  the packets to the source computer. So we can know if any packets were lost. We can  see the amount of time it takes to communicate with the host. Command: ping target [-t] [-n count] [-w timeout] [-l size] target - Destination host to ping [-t] - Ping until you force to stop [-n count] - Send number of requests (default 4 requests) [-w timeout] - Set timeout in milliseconds (default 1,000) [-l size] - Set size of packet (default size 32 bytes) There are more options available. Only some of them are mentioned here. Example: Reading the ping test results: There are no loss in packets (0% loss). Source machine has received all the sent packets.  Minimum time to communicate with the destination (both way) is 4ms and maximum is  6ms. Although, there is...