title: GraphRequest﹕ Warning: Request without access token missing application ID or client token
body: <p>Im using latest Facebook SDK(v4.2.0) for android.</p>
  
  <p>When I tried to post open graph story, logcat says: <strong>GraphRequest﹕ Warning: Request without access token missing application ID or client token</strong> and story is not being post.</p>
  
  <p>My onCreate method code is:</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      FacebookSdk.sdkInitialize(getApplicationContext());
      callbackManager = CallbackManager.Factory.create();
      LoginManager.getInstance().registerCallback(callbackManager, new FacebookCallback&lt;LoginResult&gt;() {//@Overridden method});
  }
  </code></pre>
  
  <p>And Later I called following code from button's onClickListener</p>
  
  <pre><code>LoginManager.getInstance().logInWithPublishPermissions(this, Arrays.asList("publish_action"));
  </code></pre>
  
  <p>I have also handled callback as:</p>
  
  <pre><code>@Override
  protected void onActivityResult(final int requestCode, final int resultCode, final Intent data) {
  super.onActivityResult(requestCode, resultCode, data);
  callbackManager.onActivityResult(requestCode, resultCode, data);
  </code></pre>
  
  <p>}</p>
  
  <p>The code I used for open graph post is:</p>
  
  <pre><code> Bundle params = new Bundle();
      params.putString("match", "http://samples.ogp.me/413385652011237");
  
      GraphRequest request = new GraphRequest(
              AccessToken.getCurrentAccessToken(),
              "me/tigertraptest:complete",
              params,
              HttpMethod.POST
      );
      GraphResponse response = request.executeAndWait();
  </code></pre>
  
  <p>Also I have tried all solution suggested in this link: <a href="http://code2care.org/2015/facebook-warning:-request-without-access-token-missing-application-id-or-client-token/" rel="nofollow">failed solution</a>.</p>
  
  <p>I'm new to Facebook Integration. Please help.</p>
  
  <p><strong>Edit I have posted all codes that I used in my activity to enable Facebook open graph post.</strong></p>