Carrot is now Teak
Our service is growing and we have a new name to grow with. Read about it.

Open Graph Explicit Sharing

Explicitly Sharing Open Graph

You can use explicit sharing in your app to get increased reach and better click through rates from Open Graph. You should use explicit sharing in cases where your user makes a conscious choice to share content to Facebook, such as through a custom share dialog.

Before you can use explicit sharing with an action you must enable that functionality through the Facebook Developer App. Navigate to the settings for the Open Graph action you want to explicitly share and check the box next to “Explicitly Shared” under Capabilities.

To explicitly share an action using Teak, you will need to set the “fb:explicitly_shared” action parameter to true. Below are examples for each of our SDKs.

Unity

IDictionary actionProperties = new Dictionary();
actionProperties.Add("fb:explicity_shared", "true");
Teak.Instance.postAction("action identifier",
                           actionProperties,
                           "object identifier");

Corona

carrot.postAction("action identifier",
                  "object identifier",
                  {["fb:explicitly_shared"]="true"});

iOS

NSDictionary* actionProperties = @{
  @"fb:explicitly_shared": @"true",
};
[[Teak sharedInstance] postAction:@"action identifier"
                     withProperties:actionProperties
                  forObjectInstance:@"object identifier"];

Javascript

carrot.postAction("action identifier",
                  "object identifier",
                  {"fb:explicitly_shared" : "true"});