title: Android: OpenGraph Stories sharing in Facebook with SDK 4.0
body: <p>I am trying to implement achievements for sharing to facebook when the player unlocks a badge. Have made an object using the object browser in facebook developer console. I made Action-types and object-types and made a custom story. Now i am stuck trying to share the story to facebook. The documentation given by facebook is inadequate. Even the sample code given by facebook uses v3.x</p>
  
  <p>Sample code given by facebook is given below. Couldnt find any good documentation. </p>
  
  <p><strong>Code for Object</strong></p>
  
  <pre><code>Bundle params = new Bundle();
  Request request = new Request(
      Session.getActiveSession(),
      "me/objects/enguru_app:badge",
      params,
      HttpMethod.POST
  );
  Response response = request.executeAndWait();
  // handle the response
  </code></pre>
  
  <p><strong>Code for Action</strong></p>
  
  <pre><code>Bundle params = new Bundle();
  params.putString("badge", "http://samples.ogp.me/1114467558579559");
  Request request = new Request(
      Session.getActiveSession(),
      "me/enguru_app:unlocked",
      params,
      HttpMethod.POST
  );
  Response response = request.executeAndWait();
  // handle the response
  </code></pre>