private void initialize() { mFacebookButton = (Button) findViewById(R.id.facebook_button); mGoogleButton = (Button) findViewById(R.id.google_button); mTwitterButton = (Button) findViewById(R.id.twitter_button); mInstagramButton = (Button) findViewById(R.id.instagram_button); mDataTextView = (TextView) findViewById(R.id.data_received_text_view); mFacebookButton.setOnClickListener(this); mGoogleButton.setOnClickListener(this); mTwitterButton.setOnClickListener(this); mInstagramButton.setOnClickListener(this); mFacebook = new FacebookHelper(this); mTwitter = new TwitterHelper(this, this, "Your Twitter Api Key", "Your Twitter Api Secret"); mGoogle = new GoogleHelper(this, this, null); mInstagram = new InstagramHelper(this, this, "Your Client Id", "Your Client Secret", "Your call back url"); }