@Override
    protected void onResume() {
        super.onResume();

        StringBuilder builder = new StringBuilder();
        builder
                .append("isLinkedForRead:")
                .append(FacebookUtils.isLinkedForRead(this))
                .append("\n\n")
                .append("isLinkedForWrite:")
                .append(FacebookUtils.isLinkedForWrite(this));

        Toast.makeText(this, builder.toString(), Toast.LENGTH_LONG).show();
    }
@Override
    protected void onResume() {
        super.onResume();

        StringBuilder builder = new StringBuilder();
        builder
                .append("isLinkedForRead:")
                .append(FacebookUtils.isLinkedForRead(this))
                .append("\n\n")
                .append("isLinkedForWrite:")
                .append(FacebookUtils.isLinkedForWrite(this));

        Toast.makeText(this, builder.toString(), Toast.LENGTH_LONG).show();
    }
@ Override protected void onResume ( ) { super . onResume ( ) ; StringBuilder builder = new StringBuilder ( ) ; builder . append ( "isLinkedForRead:" ) . append ( FacebookUtils . isLinkedForRead ( this ) ) . append ( "\n\n" ) . append ( "isLinkedForWrite:" ) . append ( FacebookUtils . isLinkedForWrite ( this ) ) ; Toast . makeText ( this , builder . toString ( ) , Toast . LENGTH_LONG ) . show ( ) ; }
}
}