SimonIoa 77 Master Poster

I have created an Open Graph story.I am thinking of using the PHP SDK code provided by Facebook

here is the code

$response = $facebook->api(
'og:url' =>,
'og:title' => Sample Art,
'og:type' => rovespier:art,
'og:image' =>,
'og:description' => ,
'fb:app_id' => 34954712323

I dont know if there is more than this php code to implement to my site to show image, title etc

Where do i put the code? Anywhere i want?
this is the facebook code i use to share and like

    window.fbAsyncInit = function() {
    appId : '34954712323',
    xfbml : true,
    version : 'v2.1'
    (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); = id;
    js.src = "//";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
    method: 'share_open_graph',
    action_type: 'og.likes',
    action_properties: JSON.stringify({
    }, function(response){});
    <div class="fb-like" data-share="true" data-width="250" data-show-faces="true">

I am trying to put my variable next to 'og:image' => https:'.$base_url.$profile_path.$row['profile_pic'];
and i make getting an error. So i know that this is wrong.

This is the http code i got from facebook