Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Custom Facebook Feed

The Custom Facebook Feed allows you to display completely customizable Facebook feeds of any public Facebook page or group on your website


  • Tweak: Updated plugin links for new WordPress.org repo
  • Fix: Minor bug fixes


  • New: If your Facebook posts have been created in more than one language on Facebook then it's now possible to display each language by using the locale setting in the shortcode. Eg: English: [custom-facebook-feed locale=en_EN], German: [custom-facebook-feed locale=de_DE]
  • Fix: Fixed an issue with the order of group posts in some feeds


  • Fix: Fixed a potential security vulnerability
  • Tested with upcoming WordPress 4.6 update


  • Tweak: Group wall feed posts are now ordered based on recent activity, rather than by the date they were created, to better reflect the order on the Facebook Group wall.
  • Tweak: The "5 hours ago" date text strings can now be translated directly in the shortcode if you're displaying different feeds in different languages. See the bottom of the Shortcode Options table for more information.
  • Tweak: Created some specific setup directions for the free version.
  • Fix: Minor bug fixes

  • Updated to be compatible with Facebook API version 2.6

  • Fix: Fixed a JavaScript error in the admin area when using WordPress 4.5


  • New: If a post contains either a photo or video then an icon and link are now added to view it on Facebook. You can disable this by unchecking the "Media Link" option in the following location: Customize > Post Layout > Show/Hide. You can also remove it by using the "exclude" shortcode option: exclude="medialink". You can translate or change the text for this link on the "Custom Text / Translate" settings page.
  • Tweak: Tested with WordPress 4.5
  • Fix: Fixed an issue where the "Share" button in the plugin Like Box wasn't working correctly
  • Fix: Added support for wp-config proxy settings. Credit to @usrlocaldick for the patch.


  • New: Added a setting to allow you to use a fixed pixel width for the Facebook feed on desktop but switch to a 100% width responsive layout on mobile
  • New: You can now click on the name of a setting on the admin pages to reveal the corresponding shortcode for that setting
  • New: Added quick links to the top of the Customize settings pages to make it easier to find certain settings
  • New: Added a setting to allow you to disable the default plugin text and link styles (Customize > Misc > Disable default styles)
  • New: Added a setting which allows you to manually change the request method used to fetch Facebook posts which is necessary for some server setups
  • Tweak: Updated the Font Awesome icon font to version 4.5
  • Tweak: Moved the 'Show Header' setting to the 'General' tab on the Customize page
  • Fix: Hashtag linking now works with all languages and character sets
  • Fix: Fixed an error that occurred when trying to activate the Pro version with the free version still activated
  • Fix: Fixed a rare error which occurred when the Facebook post contained no text and no story
  • Fix: Fixed an issue when trying to display Facebook posts by only visitors to your Facebook page caused by a recent Facebook API update


  • Fix: If you're experiencing an issue with your Facebook feed not automatically updating successfully then please update the plugin and enable the following setting: Custom Facebook Feed > Customize > Misc > Misc Settings > Force cache to clear on interval. If you set this setting to 'Yes' then it should force your plugin cache to clear either every hour, 12 hours, or 24 hours, depending on how often you have the plugin set to check Facebook for new posts.


  • Fix: Fixed an issue caused by the recent Facebook API 2.5 update where the posts wouldn't display when using a brand new Access Token


  • Fix: Fixed a positioning issue with the Facebook "Like Box / Page Plugin" widget caused by a recent Facebook update which was causing it to overlap on top of other content
  • Fix: Hashtags containing Chinese characters are now linked
  • Fix: Fixed a minor issue in shared link posts where the post text linked to the shared link URL instead of the post on Facebook
  • Tweak: Added a timezone for Sydney, Australia


  • Fix: Fixed an issue caused by the WordPress 4.3 update where feeds from very long page IDs wouldn't update correctly due to the cache not clearing when expired
  • Fix: Removed specific encoding parameters from the cURL request method to prevent encoding issues on some servers


  • New: Added a couple of new customization options for the Facebook Like Box/Page Plugin which allow you to select a small/slim header for the Like Box and hide the call-to-action button (if available)
  • Fix: The plugin now works with Access Tokens which use the new recently-released version 2.4 of the Facebook API


  • New: Replace the Facebook 'Like Box' with the new Facebook 'Page Plugin' as the Facebook Like Box will be deprecated on June 23rd, 2015. Settings can be found under the Misc tab on the plugin's Customize page.
  • Fix: Hashtags which contain foreign characters are now correctly linked to the hashtag on Facebook
  • Fix: Links within Facebook post descriptions weren't opening in a new tab
  • Fix: Removed empty style tags from some elements
  • Fix: The URLs used for the 'Share' icons are now encoded to prevent any HTML validation errors
  • Fix: Shared Facebook posts now link to the new shared post and not to the original post that was shared on Facebook
  • Fix: Corrected a minor issue with the plugin caching string
  • Fix: Fixed a minor issue with tags in the Facebook post text when creating/sharing an event
  • Tweak: Add some stricter CSS to some parts of the feed to prevent theme conflicts
  • Tweak: Automatically link the Facebook event name to the event now rather than it having to be enabled on the plugin's 'Typography' settings page


  • Fix: The Facebook event description is no longer shown twice in event posts. It was previously shown in the post text itself and in the Facebook event details.
  • Fix: Fixed a rare bug which would occur if your Facebook page or Facebook group name contained a number


  • Fix: Removed a PHP notice which was missed in the last update. Apologies for the two updates in quick succession.


  • Fix: Fixed some stray PHP notices which were inadvertently introduced in a recent update
  • Tweak: Added an option to not load the icon font included in the plugin


  • New: Added a shortcode option to allow you to offset the number of posts to be shown. Eg: offset=2
  • New: Added an email link to the sharing icons
  • New: Added a setting to load a local copy of the icon font instead of the CDN version. This can be found at the bottom of the 'Misc' settings page.
  • Tweak: Added a prefix to the IDs on all Facebook posts so that they can now be targeted via CSS
  • Tweak: Added "nofollow" to all links by default. This can be disabled by using nofollow=false in the shortcode.
  • Tweak: Added some missing settings to the System Info section
  • Tweak: Added the 'Timezone' setting to the main Settings page so that it's easier to find
  • Fix: Added a workaround for Facebook changing the event URLs in their API from absolute to relative URLs
  • Fix: Facebook removed the 'relevant_count' parameter from their API so added a workaround to get the number of photos attached to a Facebook post
  • Fix: Fixed a minor bug in the WP_Http fallback method
  • Fix: Removed duplicate IDs on the share icons and replaced with classes
  • Fix: Added a check to the file_get_contents data retrieval method to check whether the Open SSL wrapper is enabled
  • Fix: The eventtitlelink shortcode option now works correctly
  • Fix: Added a workaround for 'story_tags' which Facebook deprecated from their API
  • Fix: Removed query string from the end of CSS and JavaScript file references and replaced it with the wp_enqueue_script 'ver' parameter instead


  • Happy New Year!
  • New: Added a share link which allows you to share posts to Facebook, Twitter, Google+ or LinkedIn. This can be disabled at the very bottom of the Typography tab, or by using showsharelink=false in the [custom-facebook-feed] shortcode.
  • Tweak: Using your own Facebook Access Token in the plugin is still optional but is now recommended in order to protect yourself against future Access Token related issues
  • Tweak: Increased the accuracy of the character count when links are included in the Facebook text
  • Tweak: Improved the efficiency of the Facebook post caching
  • Tweak: Replaced the rel attribute with the HTML5 data attribute when storing data on an element
  • Tweak: Added HTTPS stream wrapper check to the System Info to aid in troubleshooting
  • Tweak: Updated the plugin's icon font to the latest version
  • Tweak: Added the Smash Balloon logo to the credit link which can be optionally displayed at the bottom of your feed. The setting for this is at the bottom of the Misc tab on the Customize page.
  • Tweak: Added a shortcode option to only show the Smash Balloon credit link on certain feeds: [custom-facebook-feed credit=true]
  • Fix: Fixed an issue with quotes being escaped in custom/translated text
  • Fix: Display an error message if WPHTTP function isn't working correctly
  • Fix: The postbgcolor shortcode option is now working correctly


  • Fix: Fixed a minor JavaScript error which occurs if a Facebook post doesn't contain any text


  • New: Added a text area to the Support tab which contains all of the plugin settings and site info for easier troubleshooting
  • New: You can now set the number of Facebook posts to '0' if you just want to show the Facebook Like box widget and no posts
  • Tweak: If the user doesn't add a unit to the width, height or padding then automatically add 'px'
  • Tweak: Added social media sharing links to the bottom of the settings page and an option to add a credit link to the bottom of the feed
  • Fix: Fixed an issue with Facebook hashtags not being linked when followed immediately by punctuation
  • Fix: When displaying a shared link if the caption is the same as the link URL then don't display it
  • Fix: Added a space before the feed header's style attribute to remove HTML validation error
  • Fix: Prefixed the 'top' and 'bottom' classes used on the Facebook Like box to prevent CSS conflicts
  • Fix: Fixed an issue with the link color not being applied to Facebook hashtag links


  • Fix: Fixed an issue with the Facebook Access Token used in the plugin hitting its request limit


  • Fix: Added in a missing closing div tag to the Facebook feed when an error is being displayed


  • Fix: Fixed an issue with the date not being hidden when unchecked in the Show/Hide section
  • Fix: Fixed an issue with the date not being displayed below event posts when the date position was set to 'At the bottom of the post'


  • New: Added an option to preserve/save your plugin options after uninstalling the plugin. This makes manually updating the plugin much easier.
  • New: Added a 'Settings' link to the plugin on the Plugins page
  • New: Added a field to the Misc settings page which allows users to enter their Facebook App ID in order to remove a couple of browser console warnings caused by the Facebook Like box widget
  • Tweak: Reduced the size of the author's Facebook profile picture from 50px to 40px to match Facebook
  • Tweak: The link description text is now 12px in size by default
  • Tweak: Added some default character limits to the post text and descriptions
  • Tweak: If the post author is being hidden then change the default date position to be the bottom of the post
  • Fix: The post author link is no longer the full width of the post and is only wrapped around the author image and name which helps prevent inadvertently clicking on the post author
  • Fix: Added a fb-root element to the Like box to prevent a browser console warning
  • Fix: Renamed the ShowError function to prevent conflicts
  • Fix: Fixed an issue with the 'seconds' custom text string not being saved correctly
  • Fix: When linking the post text to the Facebook post the correct text color is now applied



  • New: Added an option to display the post date immediately below the author name - as it is on Facebook. This is now the default date position.
  • New: Added options to add a background color and rounded corners to your posts
  • New: If your Facebook event has an end date then it will now be displayed after the start date
  • New: Hashtags in the post descriptions are now also linked
  • New: Tested and approved for the upcoming WordPress 4.0 release
  • Tweak: Moved the 'View on Facebook' link to the left side
  • Tweak: Added error handling to improve user experience
  • Tweak: If the Facebook API can't be reached by the plugin for some reason then it no longer caches the empty response and instead keeps trying to retrieve the posts from Facebook until it is successful
  • Fix: Removed some redundant inline CSS used on the posts
  • Fix: If there is a token in the 'Access Token' field but the 'Enter my own Access Token' box is unchecked then the plugin will no longer use it
  • Fix: Added the trim() function to the 'Test connection to Facebook API' function to improve reliability
  • Fix: Fixed an occasional JavaScript error which occurred when the post text was hidden

  • New: Hashtags in link, photo and video descriptions are now also linked
  • Fix: Fixed an issue with hashtags being linked when the post text is also linked, which interfered with the text formatting

  • Fix: Removed a couple of stray PHP notices

  • Fix: Fixed an occasional issue with hashtags in inline CSS inadvertently being linked


  • New: Hashtags in your posts are now linked to the hashtag search on Facebook. This can be disabled in the 'Post Text' section on the Typography settings page.
  • New: Added a Facebook icon to the Custom Facebook Feed admin menu
  • Fix: Corrected the left side margin on the "Like" box so that it aligns correctly with posts

  • Fix: Fixed an admin JavaScript error introduced by the last update


  • Tweak: The Access Token field is now hidden by default and is revealed by a checkbox
  • Fix: Fixed an issue with link colors not being applied to all links
  • Fix: Removed the link box container from posts which contain non-youtube/vimeo links
  • Fix: Links which don't contain a 'http://' protocol are now linked correctly


  • Fix: Fixed an issue with a generic function name which was occasionally causing an error


  • Tweak: Added an HTML wrapper element around the feed


  • New: Added an option to set a height on the Like box. This allows you to display more faces of your fans if you have that option selected.
  • Tweak: Added a few stricter CSS styles to help minimize the chance of theme stylesheets distorting post formatting
  • Tweak: Added a span to the header text to allow CSS to be applied
  • Fix: Fixed a bug with the post author text bumping down below the author image in the Firefox browser
  • Fix: Corrected a bug which caused some links not to have the color applied
  • Fix: Fixed a float issue in Firefox which sometimes caused the feed to be pushed off the page


  • New: Added background and border styling options to shared links
  • Tweak: Reduced the clickable area of the post author
  • Tweak: Added a 'Customize' tab to the Settings page
  • Fix: Fixed an issue with post tag linking not working correctly in some languages
  • Fix: Fixed an issue with line breaks not being respected in IE8


  • Fix: Added title and alt attributes to the post author's Facebook profile picture
  • Fix: Improved the reliability of the post tag linking
  • Fix: Fixed an issue with HTML characters not rendering correctly when linking the post text
  • Fix: Improved the reliability of the CSS clearing method used on the feed container
  • Compatible with WordPress 3.9


  • Fix: Fixed an issue with the 'textlink' shortcode option
  • Fix: Fixed an bug with post text sometimes being duplicated when linked
  • Fix: Removed error_reporting(0);


  • New: Added the ability to change the text size and color of the post author
  • New: Define the format, size and color of shared link titles
  • New: You can now define the color of the links in your post text, descriptions and Facebook events
  • Tweak: Moved the Feed Header options to the Typography page
  • Tweak: Moved the Ajax setting to the Misc page
  • Tweak: Now removes any query strings attached to the Facebook Page ID
  • Fix: Fixed an issue with some themes causing the clear element to prevent links being clickable
  • Fix: Some minor bug fixes

  • New: Now supports Facebook tags - creates links when using the @ symbol to tag other people or Facebook pages in your posts
  • Tweak: Changed the method used for link replacement in posts
  • Fix: Fixed issue with php include


  • New: Added an 'exclude' shortcode option to allow you to easily exclude specific parts of the post
  • New: Timeline events are now cached to help reduce page load time
  • New: Added an option for when the WordPress theme is loading the feed via AJAX so that the JavaScript runs after the feed has been loaded into the page
  • Tweak: Changed author images back to loading via PHP rather than JavaScript due to issues with certain WordPress themes
  • Fix: Reset the timezone after the shortcode has run
  • Fix: Fixed an issue with the shared link descriptions not being hidden when specified
  • Fix: Fixed a rare issue with the 'textlink' shortcode option
  • Fix: Use a fallback JSON string if unable to find the cached version in the database


  • New: Added a built-in color picker
  • New: Added class to posts based on the author to allow for independent styling
  • Tweak: Now loads the author's Facebook profile picture in using JavaScript to help speed up load times
  • Tweak: Now automatically set the Facebook post limit based on the number of Facebook posts to be displayed
  • Tweak: Core improvements to the way Facebook posts are output
  • Tweak: Changed 'Layout & Style' page name to 'Customize'
  • Tweak: Moved the Support information to a tab on the Settings page
  • Tweak: Improved the 'Test connection to Facebook API' function
  • Fix: Encode Facebook URLs so that they pass HTML validation
  • Fix: Fixed an issue with Facebook post captions not displaying under some circumstances
  • Fix: More robust method for stripping the URL when a user enters Facebook page URL instead of their Facebook Page ID


  • Tweak: Moved the 'Show post author' option from the General settings tab to the Post Layout tab
  • Tweak: Added the ability to show or hide the author to the 'include' shortcode option
  • Fix: Added CSS box-sizing property to feed header so that padding doesn't increase its width
  • Fix: Fixed showheader=false and headeroutside=false shortcode options
  • Fix: Now allows users to enter their Facebook page URL as their Facebook Page ID


  • New: Added ability to add a customizable header to your feed
  • New: Added a Custom JavaScript section to allow you to add your own JS or jQuery functionality to the feed
  • New: Added a 'Custom Text / Translate' tab to house all customizable text
  • New: You can now choose to show posts only by other people on your Facebook page
  • New: Set your timezone so that dates/times are displayed in your local time
  • New: When a Facebook post contains a link to multiple images it now states the number of photos after the post text and links to the Facebook album
  • Tweak: Plugin now detects whether the page is using SSL and pulls https resources
  • Tweak: Added a button to test the connection to Facebook's API for easier troubleshooting
  • Fix: Now using HTML encoding to parse any raw HTML tags in the Facebook post text or descriptions
  • Fix: Added a protocol to the beginning of links which don't include one
  • Fix: Fixed date width issue in IE7
  • Fix: Removed stray PHP notices
  • Fix: Added a space between the Like Box attributes

  • Fix: Fixed a CSS bug in Firefox which was causing the page author name to bump down below the avatar

  • Tweak: Moved 'View on Facebook' link up to be level with the date rather than on the line below it
  • Fix: Don't show the caption when it is the same as the Facebook post text
  • Fix: Fixed issue with enqueueing JavaScript file


  • New: Added option to remove border from the Facebook Like box when showing faces
  • New: Set Facebook "Like" box text color to either blue or white
  • Tweak: Moved descripion below video or link title and added link source
  • Tweak: Added ability to manually translate the '2 weeks ago' text
  • Tweak: Replaced 'View Link' with 'View on Facebook' so that shared links now link to the Facebook post
  • Tweak: Facebook "Like" box is now responsive
  • Tweak: Displays Facebook post caption if no description is available
  • Tweak: Vertically center multi-line author names rather than bumping them down below the Facebook profile picture
  • Tweak: Checks whether the Access Token is inputted in the correct format
  • Fix: Fixed bug in the 'Show posts on my page by others' option
  • Fix: If displaying a Facebook group then automatically hides the Facebook "Like" box
  • Fix: 'others=false' shortcode option now working correctly
  • Fix: Strip any white space characters from beginning or end of Access Token and Facebook Page ID

  • Fix: Fixed a bug in 1.6.7 which was causing an issue displaying the Facebook feed in some circumstances


  • New: Your Facebook feed can now be completely displayed in any language - added i18n support for date translation
  • Tweak: Improved documentation within the plugin
  • Tweak: Changed order of methods used to retrieve Facebook feed data

  • New: Added support for Facebook group events

  • Fix: Resolved jQuery UI draggable bug which was causing issues with drag and drop


  • New: Now works with Facebook groups
  • Fix: Fixed an issue with the 'Show posts by others' option not working correctly in the previous version


  • New: Added localization support. Full support for various languages coming soon
  • New: Added CSS classes to different Facebook post types to allow for different styling based on post type
  • New: Option to link statuses to either the status post itself or the directly to the Facebook page/timeline
  • New: Added option to add thumbnail faces of fans to the Facebook Like box and define a width
  • Tweak: Added separate classes to 'View on Facebook' and 'View Link' links so that they can be targeted with CSS
  • Tweak: Prefixed every CSS class to prevent styling conflicts with theme stylesheets. Please note that if you used custom CSS to style parts of the feed that the CSS classes are now prefixed with 'cff-' to prevent theme conflicts. Eg. '.more' is now '.cff-more'.


  • New: Added support for Facebook 'Offers'
  • Fix: Fixed an issue with the 'others' shortcode option not working correctly
  • Fix: Prefixed the 'clear' class to prevent conflicts


  • New: Post caching now temporarily stores your Facebook post data in your WordPress database to allow for super quick load times
  • New: Define your own caching time. Check for new Facebook posts every few seconds, minutes, hours or days. You decide.
  • New: Define your own custom text for the 'See More' and 'See Less' buttons
  • New: Add your own CSS class to your Custom Facebook Feeds
  • New: Define a Facebook post limit which is higher or lower than the default 25
  • New: Include the Facebook Like box inside or outside of the Facebook feed's container
  • New: Customize the Facebook event date independently
  • New: Improved layout of admin pages for easier navigation and customization
  • Fix: Provided a fix for the Facebook API duplicate post bug
  • Fix: Fixed bug which ocurred when multiple Facebook feeds are displayed on the same page with different text lengths defined


  • Fix: Fixed JavaScript error in previous update


  • New: Added a 'See More' link to expand any text which is longer than the character limit defined
  • New: Choose to show Facebook posts by other people in your feed
  • New: Option to show the post author's Facebook profile picture and name above each post
  • New: Added options to customize and format the Facebook post date
  • New: Add your own text before and after the date and in place of the 'View on Facebook' and 'View Link' text links
  • New: Specify the format of the Facebook Event date
  • Tweak: Default date format is less specific and better mimics Facebook's - credit Mark Bebbington
  • Tweak: Changed the layout of the Typography section to allow for the additional options
  • Fix: When a Facebook photo album is shared it now links to the album itself on Facebook and not just the cover photo
  • Fix: Fixed issue with hyperlinks in post text which don't have a space before them not being converted to links


  • Minor fixes


  • Tweak: Added links to statuses which link to the Facebook page
  • Tweak: Added classes to Facebook event date, location and description to allow custom styling
  • Tweak: Removed 'Where' and 'When' text from Facebook events and made bold instead


  • Fix: Fixed 'num' option in shortcode


  • New: Added more shortcode options
  • Minor tweaks


  • New: Add your own custom CSS to allow for even deeper customization
  • New: Optionally link your post text to the Facebook post
  • New: Optionally link your event title to the Facebook event page
  • Some minor modifications


  • Fix: Set all parts of the Facebook feed to display by default on activation


  • Major Update!
  • New: Loads of new customization options for your Custom Facebook Feed
  • New: Define Facebook feed width, height, padding and background color
  • New: Change the font-size, font-weight and color of the Facebook post text, description, date, links and event details
  • New: Choose whether to show or hide certain parts of the Facebook posts
  • New: Select whether the Facebook Like box is shown at the top of bottom of the Facebook feed
  • New: Choose Facebook Like box background color


  • Minor modifications


  • New: Shared Facebook events now display event details (name, location, date/time, description) directly in the Facebook feed


  • New: Email addresses within the Facebook post text are now hyperlinked
  • Fix: Links beginning with 'www' are now also hyperlinked


  • New: Added support for Facebook events - display the Facebook event details (name, location, date/time, description) directly in the Facebook feed
  • Fix: Links within the Facebook post text are now hyperlinked
  • Tweak: Added additional methods for retrieving Facebook feed data


  • Fix: Now using the built-in WordPress HTTP API to get retrieve the Facebook data


  • Fix: Fixed issue with certain Facebook statuses not displaying correctly


  • Tweak: If 'Number of Posts to show' is not set then default to 10 Facebook posts


  • Fix: Now using cURL instead of file_get_contents to prevent issues with php.ini configuration on some web servers


  • Fix: Fixed bug in specifying the number of Facebook posts to display


  • Tweak: Prevented likes and comments by the page author showing up in the Facebook feed


  • Tweak: Added help link to Custom Facebook Feed settings page


  • Fix: Added clear fix


  • Fix: Minor bug fixes


  • New: Added the ability to define a maximum length for both the Facebook post text and description


  • Launch!

Requires: 3.0 or higher
Compatible up to: 4.7.3
Last Updated: 1 month ago
Active Installs: 200,000+


4.8 out of 5 stars


6 of 21 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

1 person says it works.
0 people say it's broken.

100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,3,3 100,1,1 100,2,2
100,1,1 100,2,2 67,3,2 100,1,1 100,1,1 100,1,1 89,9,8
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,2,2 100,1,1 100,2,2 100,1,1 100,1,1
100,1,1 0,1,0 100,3,3 100,1,1 100,1,1 100,1,1 67,3,2 100,1,1 100,1,1
100,3,3 100,1,1 100,2,2 100,1,1 100,1,1
100,1,1 50,2,1 100,1,1 100,3,3
100,1,1 100,1,1 100,2,2
100,1,1 100,1,1 100,1,1 100,1,1
50,2,1 100,1,1 100,1,1
100,2,2 100,1,1
100,1,1 0,1,0
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,4,4 100,1,1