Tri Nguyen | June 08, 2011 | ADD COMMENT
In the example above, all we have to do is specifying the link that we want to share. Facebook API will pick up the default page title, description, and image automatically. If default image is not specified in the header, then first image will be used.
View Demo 1
The second example allows us to fully customize all 4 properties: page title, share link, summary, image. This example is useful when adding share links to a list of entries such as blog entries or news items. If we use the first example above to share a list of items, then all share entries will look the same, which basically will make the shared content look boring and ineffective.
View Demo 2