Sharing on the Web

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:

  • Links - Share articles, photos, videos and other content as a URL that points to the page where your content lives.
  • Open Graph Stories - You can use Open Graph to let people publish rich, structured stories using your app, such as Julie read a book on Goodreads. See Open Graph Stories.


Open Graph Markup

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.

Learn more

Share Content

You can enable sharing from your website using social plugins or your own UI that opens Facebook sharing dialogs.

Social Plugins

If you want to enabling sharing on the web, use the Share Button, which gives people the ability to choose where they want to share, including in groups and private messages on Messenger

Using Web Dialogs

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:

  • Share dialog, which gives people the most flexibility. They can choose where they want to share, including in groups and private messages on Messenger
  • Send dialog
  • Feed dialog