@ Deprecated public boolean setAutoPostPreferences ( SocialNetwork ... networks ) { boolean tw = isAutoPostToTwitter ( ) ; boolean fb = isAutoPostToFacebook ( ) ; setAutoPostToFacebook ( false ) ; setAutoPostToTwitter ( false ) ; if ( networks != null ) { for ( SocialNetwork network : networks ) { if ( network . equals ( SocialNetwork . FACEBOOK ) ) { setAutoPostToFacebook ( true ) ; } else if ( network . equals ( SocialNetwork . TWITTER ) ) { setAutoPostToTwitter ( true ) ; } } } return tw != isAutoPostToTwitter ( ) || fb != isAutoPostToFacebook ( ) ; }
Sets the auto post preferences for the user .