Showing posts with label Graph api. Show all posts
Showing posts with label Graph api. Show all posts

Tuesday, 5 February 2019

How to Create Dynamic Pie Chart in PHP with MySQL Using Google API

In this tutorial we will discuss how to create dynamic Pie Chart in PHP with MySQL. A graph which is creating....

Read more

Friday, 3 June 2016

Sharing link to Facebook does not show right thumbnail image

 1) Put this code before  </head> and pass image url in header file

 <meta property="og:image" content="<?php echo $image_urls; ?>" />

 2) Give facebook share link on Page

<a title="facebook"  href="http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo $alb['title']; ?>&amp;p[summary]=<?php echo $description;?>&amp;p[url]=<?php echo urlencode($share_url);?>&amp;
p[images][0]=<?php //echo $image_urls;?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=no,scrollbars=no,height=400,width=600'); return false;"><i class="fa fa-facebook" aria-hidden="true"></i></a>

3) Finally go to Facebook Debug tool to check sharing URL

https://developers.facebook.com/tools/debug/sharing/


Paste sharing URL and click on Debug button. That's it.