>
displaying the desire content while sharing vis fa...
Welcome, Guest

by amy.eks on Friday, 02 September 2011
displaying the desire content while sharing vis facebook sharing button


Hello Everyone,
 
I was working on facebook sharing button and found a lot of issues while sharing the desire content.
 
To get the desired content put these meta tags in the <head></head> section
 
<meta property="og:title" content="Title you want to display" />
<meta property="og:type" content="type can be anything like article, website, product" />
<meta property="og:url" content="This is very important and this is generally your current url or the url you want user to be redirected" />
<meta property="og:image" content="link for the image" />
<meta property="og:site_name" content="name of the website" /> 
<meta property="og:description" content="Description of the content" />
 
<link rel="image_src" href="/link for the image" /> 
 
It is up to you  that you can use all of them or select the one from above to use.
Please not that:
=> Using  <meta property="og:url" -- is necessary.
=> facebook share button will not display any thumbnail image on the development servers.
=> if you have changed the image in the meta tag, it takes 24 hours for facebook to refresh it. But if you want to test that the image you have implemented is correct or not then use https://developers.facebook.com/tools/debug to check out your url.
you can also add dynamic values to meta tag depending on the language you are using.
 
 
the other way of sharing the content if you don't want to use the meta tag is:(Only if you are using php)
 
<?php
        $title=urlencode('Title of Your iFrame Tab');
        $url=urlencode('http://apps.facebook.com/youriframetab');
        $summary=urlencode('Custom message that summarizes what your tab is about, or just a simple message to tell people to check out your tab.');
        $image=urlencode('http://www.yourdomain.com/images/share-thumbnail.jpg');
    ?>



Blogger Image
My Blog Title

Product Engineering, software engineering company, Product Development, Product Migration, Product Re-engineering, Product Maintenance, Product Testing Commercial Application Development, Business Software development, commercial software for startups, Application Support and Maintenance, software testing Product Maintenance, Outsource product maintenance, product support and maintenance Product Migration, Product Re-engineering, product re-engineering services Product Research, Product Engineering, UI Prototyping Services Software Testing Services, Quality Assurance services, professional software testers, Load Testing, Functional Testing, Cross Platform, Browser Testing, Test Automation, Testing Tools, software quality analysis Functional Testing Services, software quality analysis, Software Testing Services, Application Testing Services, Functional Testing Types Automated Testing, Automated Testing Services, automation testing, test script development, Automation Test Tools, outsource automation testing Load Testing, Performance Testing Services, Load Testing Tools Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Benefits of IT Outsourcing, Offshore Software Development companies, offshore software development firms Outsource planning, IT outsourcing, IT development services, offshore IT companies, offshore software development Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering