Sharing on Flash

 

Overview

You can enable sharing of Flash content (videos, etc) through ShareThis API services. Our standard implementation is based on JavaScript which can be used in most cases. However, to deliver a customized user experience we recommend using our API services at the point where sharing options should be presented to the user. e.g. at the end of a video clip, in the middle of a clip upon pause. Using the API provides site publishers full tracking of user social behavior similar to the standard ShareThis widget. The sections below outline how to integrate sharing with Flash creative.

Setup

  1. Register a ShareThis Account and get your publisher key and secret access key. See Usage for details.
  2. Visit the Get Button Page. Don't worry about configuring the widget at this point. Make a note of your generated publisher-key since you will need it to implement sharing of your Flash pages
 

Sharing to Social Destinations - Facebook, Twitter, etc.

You can use one of two approaches outlined below.

  1. Standard: Link your images/chiclets inside Flash to our standard REST end-point.
    				http://rest.sharethis.com/share/sharer.php

    See Sharing API for details. This method re-directs the user to the destination page of the social network (Facebook, Twitter, etc) in a new tab to complete sharing.

  2. OAuth API:Using ShareThis OAuth API's you can deliver a seamless user experience by posting the shared content to social networks directly without interstitial pages (assuming user is authenticated with OAuth). Users stay on your page while sharing. See User Authentication (OAuth) for details
 

Sharing through Email

If you wish to enable sharing of your Flash page through email, we recommend using our hosted page that supports our full set of social destinations including email. This page-based version of our JavaScript widget includes support for importing user contacts from GMail, Yahoo Mail, etc. for email based sharing. You can find more details in our section Non-JavaScript Sharing.