{"id":12405,"date":"2011-03-04T18:49:33","date_gmt":"2011-03-04T18:49:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/facebook-tools\/"},"modified":"2011-07-21T00:51:30","modified_gmt":"2011-07-21T00:51:30","slug":"facebook-tools","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/facebook-tools\/","author":7667628,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.1","stable_tag":"1.2.1","tested":"3.2.1","requires":"3.0.2","requires_php":"","requires_plugins":"","header_name":"Facebook Tools","header_author":"The Uprising Creative","header_description":"","assets_banners_color":"","last_updated":"2011-07-21 00:51:30","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/theuprisingcreative.com\/","header_plugin_uri":"http:\/\/www.theuprisingcreative.com\/","header_author_uri":"http:\/\/www.theuprisingcreative.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":15655,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.1","1.1.1","1.2.0","1.2.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[107,429,157,5283,3972],"plugin_category":[44,56,59],"plugin_contributors":[88002],"plugin_business_model":[],"class_list":["post-12405","plugin","type-plugin","status-closed","hentry","plugin_tags-comments","plugin_tags-connect","plugin_tags-facebook","plugin_tags-fb","plugin_tags-tools","plugin_category-discussion-and-community","plugin_category-social-and-sharing","plugin_category-utilities-and-tools","plugin_contributors-theuprising"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/facebook-tools.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Easily integrate Facebook social plugins to your WordPress blog\/site with simple template functions.\nSee below for full list of features, and how to use the plugin.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Auto Insertion of OpenGraph tags<\/li>\n<li>Like Button<\/li>\n<li>Send Button<\/li>\n<li>Comments Box<\/li>\n<li>Retrieve Facebook Comments<\/li>\n<\/ul>\n\n<h4>More Information<\/h4>\n\n<p>For more information, please read the Facebook documentations at http:\/\/developers.facebook.com\/docs\/plugins\/<\/p>\n\n<h4>Like Button<\/h4>\n\n<p>Display the Facebook Like button on any page.<\/p>\n\n<p><em>Note: The Open Graph description tag will default to the site's Tagline if their is no excerpt.<\/em><\/p>\n\n<p>To use, add <code>&lt;?php fb_likebutton(); ?&gt;<\/code> within the Loop.<\/p>\n\n<p><em>Parameters<\/em><\/p>\n\n<ul>\n<li>$href         (string)    Defaults to the current post\/page's permalink if not set<\/li>\n<li>$layout       (string)    Choices: 'standard', 'button_count', 'box_count'<\/li>\n<li>$width        (integer)   Width of the like button (in pixels)<\/li>\n<li>$colorscheme  (string)    Choices: 'light', 'dark'<\/li>\n<li>$action       (string)    Choices: 'like', 'recommend'<\/li>\n<li>$send         (boolean)   Include the send button?<\/li>\n<\/ul>\n\n<h4>Send Button<\/h4>\n\n<p>Display the Facebook Send button on any page.<\/p>\n\n<p><em>Note: The Open Graph description tag will default to the site's Tagline if their is no excerpt.<\/em><\/p>\n\n<p>To use, add <code>&lt;?php fb_sendbutton(); ?&gt;<\/code> within the Loop.<\/p>\n\n<p><em>Parameters<\/em><\/p>\n\n<ul>\n<li>$href         (string)    Defaults to the current post\/page's permalink if not set<\/li>\n<li>$font         (string)    Choices: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana' <\/li>\n<li>$colorscheme  (string)    Choices: 'light', 'dark'<\/li>\n<li>$ref          (string)    A label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters and some punctuation (currently +\/=-.:_).<\/li>\n<\/ul>\n\n<h4>Comments<\/h4>\n\n<p>Display the Facebook comment box for the current page\/post. To retrieve the comment count, please see Comment Count.<\/p>\n\n<p>To use, add <code>&lt;?php fb_comments(); ?&gt;<\/code> within the Loop.<\/p>\n\n<p><em>Parameters<\/em><\/p>\n\n<ul>\n<li>$xid          (string)    A unique identifier for the current object<\/li>\n<li>$width        (integer)   Width of the comment box (in pixels)<\/li>\n<li>$numposts     (integer)   Number of posts to display<\/li>\n<li>$migrated     (boolean)   True to display the new comment box, false to display the old comment box<\/li>\n<li>$reverse      (boolean)   Reverse the comments order (legacy only)<\/li>\n<li>$css          (string)    Location of the custom CSS for the comment box (legacy only)<\/li>\n<\/ul>\n\n<h4>Comment Count<\/h4>\n\n<p>Display the comment count for the current page\/post.<\/p>\n\n<p>To use, add <code>&lt;?php fb_commentcount(); ?&gt;<\/code> within the Loop.<\/p>\n\n<p><em>Parameters<\/em><\/p>\n\n<ul>\n<li>$xid          (string)    A unique identifier for the current object<\/li>\n<li>$return       (boolean)   Return the raw count number (Default: false)<\/li>\n<\/ul>\n\n<h4>Get Comments<\/h4>\n\n<p>Retrieve all comments in a standard PHP object<\/p>\n\n<p>To use, add <code>&lt;?php fb_get_comments(); ?&gt;<\/code> within the Loop.<\/p>\n\n<p><em>Parameters<\/em><\/p>\n\n<ul>\n<li>$xid          (string)    A unique identifier for the current object<\/li>\n<li>$migrated     (boolean)   True to fetch results from the new comment box object, false to fetch from the legacy comment box<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This plugin requires a Facebook API key. You can get one here: http:\/\/developers.facebook.com\/<\/p>\n\n<ol>\n<li>Upload the plugin folder to the <em>\/wp-content\/plugins\/<\/em> directory<\/li>\n<li>Activate the plugin through the <em>Plugins<\/em> menu in WordPress<\/li>\n<li>Go to <em>Facebook Tools<\/em> menu and fill out your Facebook application information with obtained from Facebook.<\/li>\n<li>Make sure your template is calling <em>wp_head()<\/em> and <em>wp_footer()<\/em> to allow loading of the Facebook API library.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed fb_commentcount() bug returning the incorrect href attribute<\/li>\n<li>Added a new parameter to fb_commentcount() to allow for returning the count instead of directly echoing it out.<\/li>\n<li>Fixed fb_likebutton() \"send\" bug<\/li>\n<li>Updated\/fixed the fb_likebutton() and fb_sendbutton() to fall back on the current item in The Loop if no pass \"href\" attribute is passed in the parameters.<\/li>\n<li>Fixed the XML warning for fb_commentcount()<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added the new Facebook Send button. (See instructions for usage example)<\/li>\n<li>Updated the Like button to include the new \"send\" parameter<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Added the ability to disable the automatic insertion of the Open Graph tags (in Facebook Tools &gt; Facebook Tools panel).<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Organized plugin folder<\/li>\n<li>Fixed some PHP\/WP error and warning messages<\/li>\n<li>Template functions now accept parameters to override the default settings<\/li>\n<li>New template function called fb_get_comments() which return an object containing all comments (used within the Loop)<\/li>\n<li>Added a new parameter\/setting for the new dark color scheme in the new Comments box that was announced on April 13, 2011.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Fixed fb_commentcount() bug on category pages.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Updated the <em>Facebook Tools<\/em> to allow switching between the legacy and new comment box. This update fixes the <em>fb_commentcount()<\/em> template function.<\/li>\n<li>Added the ability to load stylesheet for legacy comment box.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Updated readme.txt (fixed PHP sample code)<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed Plugin update and readme.txt file.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Open Graph tags are now automatically added to the header.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Plugin is now public!<\/li>\n<\/ul>","raw_excerpt":"Easily integrate Facebook social plugins to your WordPress blog\/site with simple template functions.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12405"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/theuprising"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12405"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12405"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12405"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12405"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12405"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}