You can add quick and simple ways for people to post content from your website to Facebook. When people share from your site, your site gets attribution as a link to your site embedded in the shared post.
People can share different types of content from the web, though basic links are the most common:
Before you enable sharing, you should mark up your page's HTML with Open Graph tags.
This helps make sure that when people share from your site, your content appears the way you want on Facebook, with a title, description, and image thumbnail.
If you have a mobile subdomain, you can optimize your content by Optimizing for a Mobile Subdomain.
Note: If your app share links to the iTunes or Google Play stores, we do not post any images or descriptions that you specify in the share. Instead we post some app information we scrape from the app store directly with the Webcrawler. This may not include images. To preview a link share to iTunes or Google Play, enter your URL into the Sharing Debugger.
You can enable sharing from your website using social plugins or your own UI that opens Facebook sharing dialogs.
If you want to use an end-to-end solution for enabling sharing on the web, the most relevant of the Social Plugins are the:
If a plugin doesn't work for your site, you also have the option of opening our dialogs directly. You will create a button on your site and call the dialog. Most commonly, you will use either: