Title: Comments
Last modified: August 21, 2016

---

# Comments

 *  [fouldsy99](https://wordpress.org/support/users/fouldsy99/)
 * (@fouldsy99)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/comments-162/)
 * How can I retrieve a list of recent comments in Facebook given URL from the Facebook
   Graph API to add to a side widget?
 * How can I display recent facebook comments, I have three tabs on my website: 
   [here](http://worldinsport.com/mcgeady-debut-distin-return-a-win-win-for-toffees/#comments)
 * Tabs are Headline – Popular – Comments
 * First two works fine, but comments doesn’t as its setup to use default comments
   system rather than the facebook comments that I use.
 * Here is the code that would need replacing:
 *     ```
       <p> <label for="<?php echo $this->get_field_id( 'com_num' ); ?>">Number of recent comments:</label>
       <input id="<?php echo $this->get_field_id( 'com_num' ); ?>" name="<?php echo $this->get_field_name( 'com_num' ); ?>" value="<?php echo $instance['com_num']; ?>" style="width:20%;" /></p>
       ```
   
 * How can I change this to display recent facebook comments?
 * I have tried:
 *     ```
       <p><div class="fb-comments" data-href="<?php the_permalink(); ?>" data-numposts="5" data-colorscheme="light"></div></p>
       ```
   
 * Many thanks
 * Regards
 * [http://wordpress.org/plugins/facebook/](http://wordpress.org/plugins/facebook/)

The topic ‘Comments’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [fouldsy99](https://wordpress.org/support/users/fouldsy99/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/comments-162/)
 * Status: not resolved