title: FacebookSdk.sdkInitialize(getApplicationContext()) Deprecated
body: <p>I'm integrating facebook SDK in my app as an option to login for the users. But recently I have started getting <code>FacebookSdk.sdkInitialize(getApplicationContext())</code> as Deprecated</p>
  
  <pre><code>   @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          FacebookSdk.sdkInitialize(getApplicationContext());
          setContentView(R.layout.activity_main);
          Toolbar toolbar = (Toolbar) findViewById(R.id.toolBar);
          setSupportActionBar(toolbar);
          getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          DrawerLayout drawerLayout = (DrawerLayout) findViewById(R.id.drawerLayout);
  </code></pre>
  
  <p>So after hustling for long I was able to find the solution to this.</p>