title: picture not getting posted on facebook page from localhost
body: <p>I use the following code to publish to my page's wall through my Facebook app</p>
  
  <pre><code>$params = array(
      // this is the main access token (facebook profile)
     "access_token" =&gt; $access_token,
     "message" =&gt; "Here is a blog post about auto posting on Facebook without being signed in using PHP #php #facebook",
     "link" =&gt; $AD_Link,
     "picture" =&gt; "https://localhost/adwit1/uploaded_images/himanshu124/Lighthouse.jpg",
     "name" =&gt; $AD_Name,
     "caption" =&gt; $AD_Caption,
     "description" =&gt; $AD_Desc
  );
  
  try {
    $ret = $fb-&gt;api('/me/feed', 'POST', $params);
    echo 'Successfully posted to Facebook Personal Profile '.$ret['id'];
  } catch(Exception $e) {
    echo $e-&gt;getMessage();
  }
  </code></pre>
  
  <p>Using this code everything is getting posted on my FB page except the image specified. However if I directly paste the image link mentioned above in the browser i am able to view the image. On the other hand if i use the following link <a href="http://i.imgur.com/lHkOsiH.png" rel="nofollow">http://i.imgur.com/lHkOsiH.png</a> in the "picture" parameter the image gets posted on the FB page.</p>
  
  <p>I also found a similar problem here on stackoverflow.com, however there was no satisfactory answer mentioned.</p>
  
  <p>Please help me if someone is aware as to why i am facing such a problem.</p>