Hello There, Guest!

l Register
Current time: 05-15-2024, 08:33 AM
facebook twitter youtube google+ feedburner
  • http://tricksduniya.com
  • Welcome the world of CRYPTO CURRENCY
  • visit daily
  • For Whatsapp Official Group Contact Our Modrate
  • Mr. Paramjit Singh = 08295205000
  • Mr. Mack = 08295943112


Tricks Duniya -ONLINE SHOPPING GUIDE, MOBILE TRICKS, ANDROID TRICKS, HACKING > COMPUTER ZONE > Publisher & Developer Zone > How To Add Facebook Open Graph To Blogger Blog >

 Replies: 0    views: 454
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How To Add Facebook Open Graph To Blogger Blog
Download App
10-18-2015, 10:37 AM,
Offline
Senior Member
Joined: May 2015
Mesajlar : 454
Konular:
Rep Puanı: 2

Points: 395.52₹
Points: 395.52₹
7278822631
#1
How To Add Facebook Open Graph To Blogger Blog

Facebook has a set of open-graph meta tags and it should be present inside the tag at the top of your page.
You can edit title, description and image of content what you are sharing.
The basics of Open Graph markup include:
*.og:title= title of post e.g.,"How to add border in Google Blogger Images without adding CSS"

*.og:url= URL of post e.g., "http://tricksduniya.com/Thread-L1-L2-L3-2617-proxies-list-October-9-2015"

*.og:description= describing post(You Can Manually Edit It As you Like)

*.og:image= URL to uniqueimage at least 200×200 pixels

*.og:type= article (otherwise defaults to “website”)

steps :
1. Go to Blogger > Dashboard > Template > Edit HTML

2. In the editor, at the top you will see html xmlns just similar like following code :
xmlns:b='http://www.google.com/2005/gml/b'
xmlns:data='http://www.google.com/2005/gml/data'
xmlns:expr='http://www.google.com/2005/gml/expr'>



3. Paste this code,xmlns:og='http://ogp.me/ns#' before closing the head tag, just like below codes.
But if you don't find this code copy all this code and paste this code above to :

xmlns:b='http://www.google.com/2005/gml/b'
xmlns:data='http://www.google.com/2005/gml/data'
xmlns:expr='http://www.google.com/2005/gml/expr'
xmlns:og='http://ogp.me/ns#'>



4. Congratulation you have successfully added Facebook Protocol Tag, lets move further to add Open Graph Meta Tags in blogger.
Find the tag in your blog and paste the following line of codes below it.



<meta expr:content='data:blog.pageName' property='og:title'/>
<meta expr:content='data:blog.canonicalUrl' property='og:url'/>
<meta content='article' property='og:type'/>
<meta expr:content='data:blog.title' property='og: site_name'/>
<meta expr:content='data:blog.postImageUrl' property='og:image'/>
<meta property='og:image:width' content='1200'/>
<meta property='og:image:height' content='630'/>
<meta content='logo-link' property='og:image'/>

<meta expr:content='data:blog.metaDescription' name='og:description'/>
<meta expr:content='data:post.snippet' name='og:description'/>
<meta content='app_id' property='fb:app_id'/>
<meta content='fb_admins' property='fb:admins'/>



5. Here you need to logo-link with your Blogger Blog's Logo link, add atleast meet Facebook share image criteria: Image must be at least 200px by 200px, have a maximum aspect ratio of 3:1, and in PNG, JPEG or GIF format.
It also you need to replace your app_id and fb_admins respectively and then just hit Save Template.



How to Get app-id and fb-admins:

*.Go to the Facebook insights page (login as user, not in your page) located here: https://www.facebook.com/insights/

*.A box should open.
DO NOT FILL THE FORM OUTYET.
In the bottom half ofthe box you should see a bit of code.
It will look like this: <meta property="fb:admins" content="XXX"> Copy this code.

*.Place the code that you just copied into Open Graph Meta Tags of your website. If page have two admin it separated with comma.

*.Don't Fill Out Domain Name in that box, If you try to do so, it would give this error message (Getting an error "No admin data found at root webpage http://Tricksduniya.com/.
Insights requires admin data at this root webpage for the specified URL Tricksduniya.com") because we haven't get out App ready.

*.To create a Facebook Application ID, Go to the Facebook Developers Apps page, and sign in with your Facebook username and password.

*.Click the "Add a New App" button.
A box pop up Click Website.
Enter a name for the application in the "App Name" field or Click on Skip Quick Start and Filled the required box.
Next, scroll down to the "Facebook App ID"
e.g. app Id : '1523672161247135', and Enter your website URL in the "Site URL" field(e.g. http://www.Tricksduniya.com ), click next to finished.

*.Copy That App ID and placed it to your Open Graph Meta Tags.

*.Return to Facebook Insights, complete the domain section of the form and hit Get Insights.
And
That's it


Possibly Related Threads…
Best way to Remove Widget Bundle CSS file from Blogger
10-18-2015, 10:37 AM
Reply
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to Remove Widget Bundle CSS file from Blogger Red 0 552 11-26-2015, 04:16 PM
Last Post: Red
  How to auto share your new posts to Facebook and twitter Red 0 427 11-23-2015, 02:38 PM
Last Post: Red
  Earn money from your blog or site (easy way) Pankaj143 0 467 11-21-2015, 12:13 PM
Last Post: Pankaj143

Forum Jump:

Powered By Mack Doun
© 2015-2024 Paramjit Singh.
TricksDuniya theme TricksDuniya © 2015.