Title: Shared posts do not show image
Last modified: May 8, 2017

---

# Shared posts do not show image

 *  [SharmPRO](https://wordpress.org/support/users/sharmpro/)
 * (@sharmpro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/shared-posts-do-not-show-image/)
 * if the fb post is a shared one the image extracted is not valid.
 * includes/class-api.php 43:
    $result = $this->call(“{$this->fb_id}/posts”, array(‘
   fields’ => ‘id,full_picture,picture,type,from,message,status_type,object_id,name,
   caption,description,link,created_time,comments.limit(1).summary(true),likes.limit(
   1).summary(true)’ )); // NEW full_picture
 * includes/class-api.php 114:
    case ‘photo’: // set post image, use protocol relative
   URL $post[‘image’] = “//graph.facebook.com/”. $p->object_id . ‘/picture’; // 
   NEW we use full_picture because the default one in this case is a small one (
   130x130px) if($p->status_type == ‘shared_story’){ $post[‘image’] = $p->full_picture;}//
   NEW break;

The topic ‘Shared posts do not show image’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-facebook-posts_eae9f9.svg)
 * [Recent FB Posts](https://wordpress.org/plugins/recent-facebook-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-facebook-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-facebook-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-facebook-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-facebook-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-facebook-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [SharmPRO](https://wordpress.org/support/users/sharmpro/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/shared-posts-do-not-show-image/)
 * Status: not resolved