{"id":23259,"date":"2013-05-08T14:09:28","date_gmt":"2013-05-08T14:09:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/facebook-pictures\/"},"modified":"2013-05-08T14:31:42","modified_gmt":"2013-05-08T14:31:42","slug":"facebook-pictures","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/facebook-pictures\/","author":6629711,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.5.2","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Facebook Pictures","header_author":"MiracleDevs","header_description":"","assets_banners_color":"","last_updated":"2013-05-08 14:31:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":3,"author_block_rating":0,"active_installs":10,"downloads":2800,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"709896","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"709896","resolution":"2","location":"assets"}},"screenshots":{"1":"Admin Panel Settings","2":"An example of how the widget would look like in your sidebar. Two pictures are being pulled."}},"plugin_section":[],"plugin_tags":[6133,23260,28644,28645],"plugin_category":[50],"plugin_contributors":[91196],"plugin_business_model":[],"class_list":["post-23259","plugin","type-plugin","status-closed","hentry","plugin_tags-albums","plugin_tags-facebook-photos","plugin_tags-facebook-pictures","plugin_tags-open-graph-api","plugin_category-media","plugin_contributors-nbadano","plugin_committers-nbadano"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/facebook-pictures.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/facebook-pictures\/assets\/screenshot-1.png?rev=709896","caption":"Admin Panel Settings"},{"src":"https:\/\/ps.w.org\/facebook-pictures\/assets\/screenshot-2.png?rev=709896","caption":"An example of how the widget would look like in your sidebar. Two pictures are being pulled."}],"raw_content":"<!--section=description-->\n<p>Facebook Pictures allows you to include albums and embed pictures from your Facebook account into your site. You'll need a Facebook App ID and Secret, that you can create for free on <a href=\"http:\/\/developers.facebook.com\/apps\">Facebook's Developer Page<\/a>.<\/p>\n\n<p>Facebook Pictures takes your latest 5 albums and selects the most liked and commented pictures from them. You can choose how many pictures you want to pull using the widget options.<\/p>\n\n<p>Albums works in a similar way, but only the most recently updated ones are pulled.<\/p>\n\n<p>You can embed pictures from both your personal Profile and any Pages you manage.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install either via the WordPress.org plugin directory, or by uploading the files to your server.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Create a new Facebook App using <a href=\"http:\/\/developers.facebook.com\/apps\">Facebook's Developer Page<\/a>. Make sure you enter your website as the App's domain page.<\/li>\n<li>Enter your newly created App ID and App Secret in the plugin's settings page (Settings -&gt; Facebook Pictures)<\/li>\n<li>Link your Facebook Account. You'll be asked for permissions on Facebook.<\/li>\n<li>You are all set! Find the Facebook Pictures widget under Appearance -&gt; Widgets, drag it into your sidebar or any widgetized area and select how many pictures or albums you want to display.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I use Facebook Pictures on my template?<\/dt>\n<dd><p>Sure you can. You'll have to use the global variable $fbdata and call either the $fbdata-&gt;get_pictures($amount, $offset) method for pictures or $fbdata-&gt;get_albums($amount) for albums. This will return an array containing the data, that you can display and style as needed.<\/p><\/dd>\n<dt>Will this plugin slow down my page?<\/dt>\n<dd><p>It really depends on how many pictures you have on your Facebook account: the more pictures, the more it takes Facebook to give us the information we need. In any case, data is stored on your site for 24 hours, so worst case scenario you'll see a load delay on one pageview every day.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Plugin is released<\/li>\n<\/ul>","raw_excerpt":"Pull most commented and liked pictures from your Facebook Profile or Page you manage and display them in your sidebar or any widgetized area.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23259","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=23259"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nbadano"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23259"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23259"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23259"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23259"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23259"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}